Scriptname Pitfall extends ObjectReference
ObjectReference Property TeleportMarker auto
Event OnTriggerEnter(ObjectReference akActionRef)
int isRider = Game.GetPlayer().GetSitState ()
If ((akActionRef == Game.GetPlayer()) && (isRider == 0))
akActionRef.MoveTo(TeleportMarker)
EndIf
EndEvent
This will actually be very useful to me shortly. I'm going to make a large arena-type space. Thought about having obelisks to click on to teleport to different areas. Instead I could have arrows on the ground that can be walked on.
No comments:
Post a Comment