How to get who equipped an armor and apply object script to

Post » Thu Feb 07, 2013 8:12 pm

I want to give actors a script upon wearing a certain armor, so I can access the OnHit blocktype dynamically.

Trouble is, I don't know how to obtain the actor equipping the armor. Also, I don't know how to dynamically apply an object script to said actor.

I'm also thinking of dealing with actors already wearing the armor when the mod starts. Will OnEquip fire when the game starts? Or should I do something differently?
User avatar
Lucy
 
Posts: 3362
Joined: Sun Sep 10, 2006 4:55 am

Return to Fallout: New Vegas