Jump to content

[Script Help] Set property through actor script?


saintgrimm92

Recommended Posts

In the mod I'm working on, I'm executing an NPC in a scene, and after looking at the vanilla execution scenes, I'm realizing I do NOT want to recreate all of this... So instead, I've opted to hang the NPC with the vanilla noose and the gallows resource from here on the nexus.

The activator, "hangedManRopeTRIG", has a script with an object reference "Corpse". Corpse should be set to the NPC that hangs, but I need to wait until a specific point in the scene for the NPC to fill the corpse property.

Scene: NPCs walk onto gallows, scene opens trap door and kills the hanged NPC.

So I need something to put onto the hanged NPC like...

Event OnDeath(whatever)
RopeScript.CorpseProperty(Self)
EndEvent

But obviously, that script isn't real and won't work... So any ideas on a script to do it properly?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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