iTz Rossss X Posted March 27, 2010 Share Posted March 27, 2010 Hi, I'm working on a script for a door that can only be opened if the character is above level 10 (if Player.GetLevel >= 10;), if they are not level 10 or higher, the door will not open and a message will appear (MessageBox "You are not strong enough to open the stiff door. (You need to be level 10 or higher)"). I have a basic understanding of scripting and here is my script so far: scn aaaDOORStiffDoor01SCRIPT Begin OnActivate if Player.GetLevel >= 10; <----Something needs to go here so that the door will open for the character. endelse MessageBox "You are not strong enough to open the stiff door. (You need to be level 10 or higher)" <----Something needs to go here so that the door will not open for the character. endifend Could somebody please fill in the rest of the script for me, It shouldn't take two seconds, it's just I don't have a clue what CMD's should go in. Thanks in advance.~~iTz Link to comment Share on other sites More sharing options...
Vagrant0 Posted March 27, 2010 Share Posted March 27, 2010 http://cs.elderscrolls.com/constwiki/index.php/Activate http://cs.elderscrolls.com/constwiki/index.php/Return Link to comment Share on other sites More sharing options...
iTz Rossss X Posted March 27, 2010 Author Share Posted March 27, 2010 http://cs.elderscrolls.com/constwiki/index.php/Activate http://cs.elderscrolls.com/constwiki/index.php/Return Thanks for the quick response. Does just placing "return" on a certain line cause it to end the script? ~~iTz Link to comment Share on other sites More sharing options...
Recommended Posts