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.
25 lines
440 B
25 lines
440 B
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 |