dontpanic Posted July 9, 2009 Share Posted July 9, 2009 I am trying to make a mod for a door that acts like an elevator. You walk up to the door and it asks you what floor you want to go to. You select the floor and the door takes you there. Can someone please help me with this? Link to comment Share on other sites More sharing options...
Wyked Posted July 9, 2009 Share Posted July 9, 2009 first, create a marker with a unique reference ID at each floor. then you would need to make a message to ask what floor, and have options for each floorhttp://geck.bethsoft.com/index.php/Message then you would need to write a script that activates when the elevator button is pressed,http://geck.bethsoft.com/index.php/ShowMessage in the script have each option us player.moveto (REFID of the marker desired)http://geck.bethsoft.com/index.php/MoveTo Link to comment Share on other sites More sharing options...
dontpanic Posted July 9, 2009 Author Share Posted July 9, 2009 The scripting has me a bit confused. Can someone help me with this? Link to comment Share on other sites More sharing options...
Wyked Posted July 10, 2009 Share Posted July 10, 2009 The scripting has me a bit confused. Can someone help me with this? the script will be fairly easy to do. after all the legwork is done i can give you a workin script pretty easy. first you need to make a message with options for each floor. then create markers on each floor. then create your elevator switch. once all that is done write the following script. SCN (name of your script) Begin OnActivate ShowMessage (the ID of the message you created) End then attach the script to your elevator switch. Link to comment Share on other sites More sharing options...
dontpanic Posted July 10, 2009 Author Share Posted July 10, 2009 How do I attach the locations that I want to go to to the specific buttons in the menu? The Messages only allow you to put text and conditions. Link to comment Share on other sites More sharing options...
Wyked Posted July 10, 2009 Share Posted July 10, 2009 give me a couple hours. dont have a geck in front of me to check out the options. Link to comment Share on other sites More sharing options...
dontpanic Posted July 10, 2009 Author Share Posted July 10, 2009 ok thanks for anything you can help me with. Link to comment Share on other sites More sharing options...
dontpanic Posted July 10, 2009 Author Share Posted July 10, 2009 I figured it out using the getvar in the script. Thanks for pointing me in the right direction. Link to comment Share on other sites More sharing options...
Wyked Posted July 10, 2009 Share Posted July 10, 2009 np : ) gl with the rest of the mod Link to comment Share on other sites More sharing options...
Cipscis Posted July 12, 2009 Share Posted July 12, 2009 I've done a fair bit of work with scripted menus like this, and recently published a new tutorial that details the scripting behind them. If you're interested, you can have a look at it here - Making a Menu Cipscis Link to comment Share on other sites More sharing options...
Recommended Posts