vanblam Posted May 4, 2011 Share Posted May 4, 2011 Hello, I wanted to have the player teleport to a new location right after you hit done on the race menu. So as soon as you finish and put your name in there, press done, says you want to be ( what ever race you chose ) , hit yes, then boom you teleport to a new spot. I have a custom player start location that I'm using as a just a cool looking spot to build your character ( Picture like in WoW when you build your toon ). Once your done you go to the location that I want the player to Proceed. Found a way for it to work right on the first autosave, which is like 2 or 3 seconds after creating your character, but I want it seamless :P. So is there a race menu script you could edit? or can I set a timer script to teleport you like 0.1 seconds after hitting done? Thanks in Advance Link to comment Share on other sites More sharing options...
GODSBANE123456 Posted May 4, 2011 Share Posted May 4, 2011 (edited) What you need to do is call the player to a point ( the point being an object or animal(not recommended cause they tend to move XD)). You can make the object really small, then, well fudge, i dont have mine to give you the code, but i can show you how to make it. http://cs.elderscrol...Teleport_Recall basically, just use player.moveto OBJECT Oh, and i missed the timer part, that is easy as well, but again, i am missing my code to give you (I used it to teleport the player when they died in the arena (I made arena 30 times harder, and each enemy 15 enemies all coming non-stop)) http://cs.elderscrol...ex.php/GameMode mk, i think i hit all the points, your welcome, and just message me if you have any questions. After re-reading it ten minutes later, i decided that a timer is pointless, you could have it so that instead of opening a new menu when you click done, just have it teleport you directly to the object, it would be seemless would work all within the same frame. Edited May 4, 2011 by GODSBANE123456 Link to comment Share on other sites More sharing options...
vanblam Posted May 4, 2011 Author Share Posted May 4, 2011 Thank you for your input I really appreciate it :).But I'm not having a problem teleporting though. My problem lies is the timing of it, how do I get the script to start after I press done? Link to comment Share on other sites More sharing options...
GODSBANE123456 Posted May 5, 2011 Share Posted May 5, 2011 (edited) Ahh sorry, Here is a basic code for clicking a button and where you should put your teleport script begin onActivate YOUR MENU THINGY (with a button) end begin GameMode set button to GetButtonPressed if button == 0 player.Moveto TARGET (or your moveto Script) endif end This will make your character teleport as soon as the button is pressed, you may want to close the menu before the player teleports though, just as a precaution. I am not sure if the game will reset the script when it reloads the character's new area. Edited May 5, 2011 by GODSBANE123456 Link to comment Share on other sites More sharing options...
vanblam Posted May 5, 2011 Author Share Posted May 5, 2011 awesome TY :).. Now all I need to do is find the script for the race menu.. Unless that's hard coded or somethen.. you know the name of race menu script or quest? ( well besides chargenquest ) I wont be able to add the teleport until I find the race menu script :P ( If there is one) If theirs no race menu script that I can modify then what I'm trying to do is not going to happen :P Link to comment Share on other sites More sharing options...
Recommended Posts