Activator Reset?

Post » Fri Feb 07, 2014 5:42 am

Hi everyone,

I have an area marker that activates when a player enters it. This causes music to play and objects to appear. I just can't figure out how to reset the area marker to do it again. After activating it once, the area marker seems to go into a state where it will never activate again. I would like to reset it after the song is done, so I suppose that includes a Utility.WaitMenuMode(1.3) line or something. Anyone know of an activator reset script?

User avatar
KIng James
 
Posts: 3499
Joined: Wed Sep 26, 2007 2:54 pm

Post » Fri Feb 07, 2014 6:32 pm

That's your solution right there.

AUTO State DefaultStateEvent OnActivate(ObjectReference akActionRef);stuff hereGoToState("Reset")EndEventENDSTATE STATE ResetEvent OnActivate(ObjectReference akActionRef);Do different stuff hereGoToState("DefaultState")EndEventENDSTATE

...But sounds like you want an OnTriggerEnter event, because each time the player passes through it, code can run.

User avatar
ZzZz
 
Posts: 3396
Joined: Sat Jul 08, 2006 9:56 pm


Return to V - Skyrim