enderalse/source/scripts/_00e_fs_flusshaimphasmalismdoor2scr.psc

21 lines
606 B
Plaintext

Scriptname _00E_FS_FlusshaimPhasmalismDoor2Scr extends ObjectReference
Event OnActivate(objectReference akActionRef)
If akActionRef == PlayerREF
int iButton = _00E_FS_FlusshaimPhasmalismDoor2Msg.Show()
if iButton == 0
_00E_FS_FlusshaimPhasmalismDoorSound.Play(PlayerREF)
PlayerREF.MoveTo(FlusshaimPhasmalistTeleportMarker)
ElseIf iButton == 1
Return
EndIf
EndIf
EndEvent
Actor Property PlayerREF Auto
Message Property _00E_FS_FlusshaimPhasmalismDoor2Msg Auto
ObjectReference Property FlusshaimPhasmalistTeleportMarker Auto
Sound Property _00E_FS_FlusshaimPhasmalismDoorSound Auto