Hey Guys! I was working on a script that causes a message box to appear upon an actors death. Here is a script I found on the wiki:
Event OnDeath(Actor akKiller) if (akKiller == Game.GetPlayer()) Debug.Trace("We were killed by the player!") endIf endEvent
So in order to test this I applied it to an NPC in the creation kit via "Scripts" in the character creation menu however when I do kill the NPC nothing happens. Is this the right script? or am I using the wrong one? and if so what should I use?
Thanks in advance