Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
457 B
27 lines
457 B
Scriptname _00E_MQ07a_SC5_PlatformSC Extends ObjectReference
|
|
|
|
Function Shake()
|
|
|
|
while !IsAtBottom
|
|
Game.ShakeCamera(afStrength = 0.5)
|
|
Return
|
|
EndWhile
|
|
|
|
EndFunction
|
|
|
|
Event OnTranslationComplete()
|
|
|
|
If !IsAtBottom
|
|
IsAtBottom = True
|
|
MQ07a_SC5_RiddleWallTop.Enable()
|
|
MQ07a.MovePlatformForward()
|
|
Else
|
|
MQ07a.StopSound()
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
bool IsAtBottom
|
|
|
|
_00E_MQ07a_Functions Property MQ07a Auto
|
|
ObjectReference Property MQ07a_SC5_RiddleWallTop Auto
|
|
|