How to pass an activator ref to alias?

Post » Sun Apr 14, 2013 6:25 pm

I mean not the object who activated it, from lets say OnActivate (ObjectReference akActionRef) event. But reference of activated object.

I dont want to use 'Forced Reference' option on activated objects because I have many copies of said object in my mod (not even sure if it works like that?).


Scriptname TEST extends ObjectReferenceEvent OnActivate (ObjectReference akActionRef)  	 ;do somethingEndevent

I have this script attached to lever. There is 5 levers close to each other.

If you activate 1st one, its ref is sent to alias.


How to do it?
User avatar
Aaron Clark
 
Posts: 3439
Joined: Fri Oct 26, 2007 2:23 pm

Return to V - Skyrim