Actor script on Player?

Post » Thu Jun 21, 2012 10:28 am

Is it possible to attach an Actor Script to the Player Actor such that any other mods that alter the same Actor don't remove that script? The issue I have is that I must use Actor.OnObjectEquipped for Spells, which are not ObjectReferences and therefore don't have an OnEquipped event of their own. Perhaps there's another way to detect when a Spell is equipped?
User avatar
QuinDINGDONGcey
 
Posts: 3369
Joined: Mon Jul 23, 2007 4:11 pm

Post » Thu Jun 21, 2012 2:50 pm

You can use a reference alias script to track that. Since you won't be putting a script directly on the player, there shouldn't be any problems.
User avatar
Eibe Novy
 
Posts: 3510
Joined: Fri Apr 27, 2007 1:32 am

Post » Thu Jun 21, 2012 6:52 am

You can use a reference alias script to track that. Since you won't be putting a script directly on the player, there shouldn't be any problems.
Thanks. You can tell I'm new since I don't know about those :)
User avatar
butterfly
 
Posts: 3467
Joined: Wed Aug 16, 2006 8:20 pm


Return to V - Skyrim