https://map.moh-central.net/forum/viewtopic.php?t=12728
But since this question is about scripting I am making a new post here.
In a simple elevator script the scripter has to state the position of the elevator. I have seen level.elepos in the past but couldn't you have anything like level.elevator or something to store the variable in. All you have to do is state the starting condition. Example: If the elevator starts on the bottom floor then say level.elevator = 0 (or whatever your variable name is) And then when you check to see what state the elevator is in you could this.
Code: Select all
if (level.elevator = 0)
{
goto moveup
}
else
{
goto movedown
}
end
moveup:
blah blah blah (after all that moving stuff then you would put)
level.elevator = 1
Dont laugh if its wrong
I am just asking someone who knows this stuff if you could do this.

