Please help with CollisionMarker Trigger

Post » Thu Jun 21, 2012 12:41 am

I am trying to setup a CollisionMarker that when the player passes through it triggers the script attached to it.

I tried settings L_Trigger L_nonCollidable etc

The script is


Scriptname zzwall extends ObjectReference

Event OnTriggerEnter(ObjectReference akActionRef)
Debug.Notification(akActionRef + " Triggered wall!")
if (akActionRef == Game.GetPlayer())
Debug.Notification(" is player")
endif
EndEvent

Event OnTrigger(ObjectReference akActionRef)
Debug.Notification(akActionRef + " just hit us!")
if (akActionRef == Game.GetPlayer())
Debug.Notification(" is player")
endif

EndEvent
User avatar
Hannah Whitlock
 
Posts: 3485
Joined: Sat Oct 07, 2006 12:21 am

Return to V - Skyrim