28 lines
457 B
Plaintext
28 lines
457 B
Plaintext
|
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
|