Registering For Someone Else's Event

Post » Thu Jun 21, 2012 6:49 am

Problem Solved
User avatar
Shannon Lockwood
 
Posts: 3373
Joined: Wed Aug 08, 2007 12:38 pm

Post » Thu Jun 21, 2012 10:03 am

You could call another script event, but not the oposite. Besides, the target could not even have an onwardhit event avaliable. The only way I can see here is to add yourself a script with the onwardhit event you want to use to the target, via an alias (you could add aliases to all targets in the area before casting your spell. If you use this method though, give to the quest of those aliases a low priority, to avoid screwing target aliases needing high priority.
User avatar
Vincent Joe
 
Posts: 3370
Joined: Wed Sep 26, 2007 1:13 pm

Post » Thu Jun 21, 2012 8:52 am

You could call another script event, but not the oposite. Besides, the target could not even have an onwardhit event avaliable. The only way I can see here is to add yourself a script with the onwardhit event you want to use to the target, via an alias (you could add aliases to all targets in the area before casting your spell. If you use this method though, give to the quest of those aliases a low priority, to avoid screwing target aliases needing high priority.

I'm sorry but I think you misunderstood. Let me clarify:

The spell I'm making applies a ward to a target actor. I want to be able to detect when that ward breaks so that I can stagger the caster (the caster of the ward, not the spell that broke it). How can I do this?
User avatar
Rachel Eloise Getoutofmyface
 
Posts: 3445
Joined: Mon Oct 09, 2006 5:20 pm


Return to V - Skyrim