14 lines
336 B
Plaintext
14 lines
336 B
Plaintext
|
Scriptname _00E_FS_NQ02_TeleportOnActivate extends ObjectReference
|
||
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == Game.GetPlayer()
|
||
|
Game.GetPlayer().MoveTo(teleportMarker)
|
||
|
PHYWaterSplashM.Play(Game.GetPlayer())
|
||
|
endif
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
ObjectReference Property teleportMarker Auto
|
||
|
|
||
|
Sound Property PHYWaterSplashM Auto
|