Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Begin MS_RisingPlatform
- ;-AUTHOR: GrandBulwark
- ;-MOD: Monastery of Moon and Star
- Short ControlVar
- Float Timer
- Short Direction
- if ( MenuMode == 1 )
- return
- endif
- if ( OnActivate == 1 )
- if ( ControlVar != 1 )
- If ( "MS_Reference"->GetDisabled != 1 )
- Set ControlVar to 1
- Else
- MessageBox "The Monastery's Defenses have sealed the gate!"
- Endif
- Else
- MessageBox "The Elevator is busy!"
- Endif
- If ( ControlVar <= 1 )
- set timer to ( timer + GetSecondsPassed )
- If ( Timer < 15 )
- If ( Direction != 1 )
- "MS_Elevator"->MoveWorld -Z 68
- Set Direction to 1
- Else
- "MS_Elevator"->MoveWorld Z 68
- Endif
- Endif
- If ( Timer == 15 )
- Set ControlVar to 0
- Set Timer to 0
- Endif
- Endif
- Endif
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement