Multithreading + onActivate + several actors

Post » Sat Apr 13, 2013 4:26 am

How are instances of the same script being created for same and for several actors?


For example if my script contains onActivate event and extends Objectreference:

I dont want the same actor to activate it multiple times - (easy to do with states), but I want several actors to activate the SAME object and get the same effect (but just once as well).

If it creates separate instance of script for each actor (same as ActiveMagicEffect does), then I dont need to care about STATES in other actors instances.

But if it doesnt then how would you solve this issue?
User avatar
Katharine Newton
 
Posts: 3318
Joined: Tue Jun 13, 2006 12:33 pm

Return to V - Skyrim