Jump to content

Run into interesting behavior with my script


stars2heaven

Recommended Posts

I had a Begin OnDeath script which included the kiling of a few other actors. It looked something like this

 

Begin OnDeath

 

(do some stuff)

SomeOtherActorRef.kill

SomeOtherActorRef.kill

SomeOtherActorRef.kill

 

End

 

What I found interesting is that the actor this script was attached to caused his own ref to be disabled after you killed him. When I removed the kill commands from the script this behavior stopped. Now I have the kill commands carried out by the quest that updates after you kill him instead and everything works as intended.

 

Anyone know why it was causing his body to disappear?

 

Btw...if you are interested in the quest this was for feel free to check out Edgars Little Secret and tell me what you think. You can click the link in my Sig or go to http://www.tesnexus.com/downloads/file.php?id=34755

Link to comment
Share on other sites

This was the actual script. I doubt anything in it had anything to do with the corpse poofing

 

Scn AAs2hESEmpoweredDemonDeathScript

 

Begin OnDeath

 

SetStage AAs2hEdgarsSecret 81

Set AAs2hESOpenBalaselDoorQuest.trig1 to 1

Set AAs2hESOpenBalaselDoorQuest.trig2 to 1

Set AAs2hESOpenBalaselDoorQuest.trig3 to 1

AAs2hSkeli4.kill

AAs2hSkeli5.kill (and several others after these 2)

 

End

 

Like I said, when the kill commands were removed from this script and the quest script was allowed to handle it instead everything worked fine. But with them in this one the corpse just disappears.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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