Scriptname ActivateDoorArenaScript extends ObjectReference
Door Property DoorProperty01 Auto
ObjectReference Property MoveToMarkerProperty01 Auto
Event OnActivate(ObjectReference akActionRef)
Game.GetPlayer().MoveTo( MoveToMarkerProperty01)
EndEvent
Prettty basic, but essentially the player hits the door and is moved to MarkProperty01. I'm wondering why this works though. I was under the impression that for this line of script "Event OnActivate(ObjectReference akActionRef)" I would need to specify what object will be activated, but when I put in "DoorProperty01" instead of "ObjectReference" it broke it. Is it because this line "Scriptname ActivateDoorArenaScript extends ObjectReference" basically extends the name ObjectReference onto my door automatically?
Also, what does "akActionRef" mean?
Thanks guys.