No. You'd attach it to your own quest's alias(es).You could, or you could use http://www.creationkit.com/ForceRefIfEmpty_-_ReferenceAlias to fill it with a follower's reference.http://www.creationkit.com/OnObjectEquipped_-_Actor works for actors and actor aliases alike.
Also, just noticed the code won't work as is if the follower equips the torch while not sneaking. I'm making a plugin which I'll link when the kinks are ironed out which has multiple alias slots. I've still yet to figure out how, but it should be possible to attach the script to as many followers as desired.
Well, I give up. I exactly did what you told me. I've made a new quest priority 10. Made a new alias named Sven with fill type unique actor = sven. Made a container and put it into a cell, made the Formlist and put the torch inside. But this just does not seem to work at all. Follower Sven does not put his torch away. I think I'd rather stay with the old script as this new script seems to be way over my head.
Problem is I don't even remotely understand what I'm doing wrong since I've did anything like described. Here's the final script:
Spoiler ScriptName SI_FollowerNoTorchScript extends ReferenceAliasBool bDisallowTorchInt iTorchCountFormList Property SI_FollowerNoTorchFL AutoObjectReference Property SI_FollowerNoTorchCONREF AutoEvent OnObjectEquipped(Form akBaseObject, ObjectReference akReference) If SI_FollowerNoTorchFL.HasForm(akBaseObject) RegisterForSingleUpdate(0.01) EndIfEndEventEvent OnUpdate() If bDisallowTorch != GetActorReference().IsSneaking() bDisallowTorch = !bDisallowTorch If bDisallowTorch iTorchCount = GetActorReference().GetItemCount(SI_FollowerNoTorchFL) GetActorReference().RemoveItem(SI_FollowerNoTorchFL, iTorchCount, True, SI_FollowerNoTorchCONREF) RegisterForUpdate(3) Else SI_FollowerNoTorchCONREF.RemoveItem(SI_FollowerNoTorchFL, iTorchCount, True, GetActorReference()) UnregisterForUpdate() EndIf EndIfEndEventEvent OnItemAdded(Form akBaseItem, Int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) If bDisallowTorch If SI_FollowerNoTorchFL.HasForm(akBaseItem As Form) GetActorReference().RemoveItem(akBaseItem, aiItemCount, True, SI_FollowerNoTorchCONREF) iTorchCount += aiItemCount EndIf EndIfEndEvent
And a picture of the quest alias screen:
http://imageshack.us/photo/my-images/803/aliasscreen.jpg/
About the whole http://www.creationkit.com/ForceRefIfEmpty_-_ReferenceAlias thing. I'm a basic scripter that can do basic scripts, but I don't even have a a clue where to anchor this. Please someone help. I just wanna get this script working, or I'm going back to the old one.