Jump to content

trigger box fires but dead npcs do not activate


tonycubed2

Recommended Posts

Greetings,

 

Working on a nasty surprise for my Sands of Time users/victims. I placed three draugr in a cave and checked the box "starts dead". Then I placed a script on them like so (double conditons was due to testing, neither one works anyway):

 

Scriptname SOT_Arise extends ObjectReference 

IMPORT Actor

Event OnActivate(ObjectReference akActivator)
if (akActivator == Game.GetPlayer())
if count == 0
count = 5
LIVE.Cast(Self, Self)
;debug.Notification("activated script")

EndIf		
endif
EndEvent

Event OnTriggerEnter(ObjectReference akActivator)
if (akActivator == Game.GetPlayer())
if count == 0
count = 5
LIVE.Cast(Self, Self)
;debug.Notification("activated script")

EndIf		
endif


EndEvent

 

 

Then I created a trigger box and made sure it covered them and the area around them.

 

then I went to each npc and in the activate parents tab I selected the trigger box.

 

Does not work. I can :

 

1) activate the dead npcs by searching them and the script will fire and they will come back to life

2) I can add a test notification message on the trigger box to make sure it is firing, and it does. It knows when I enter.

 

 

I tried to extend both actor and object reference, no dice.

 

help! :sad: :sad:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...