enderalse/source/scripts/_00e_undercityaisolonportscript.psc

25 lines
440 B
Plaintext

ScriptName _00E_UndercityAisolonPortScript Extends ObjectReference
Actor Property playerRef Auto
ObjectReference Property destPos Auto
Message Property shippingMSG Auto
Bool menu = false
int buttonPressed
Event OnActivate( ObjectReference ref )
if( ref == playerRef )
buttonPressed = shippingMSG.Show()
; ship the player
if( buttonPressed == 0 )
playerRef.MoveTo( destPos )
EndIf
; otherwise not
EndIf
EndEvent