GRRB Posted June 21, 2012 Share Posted June 21, 2012 I need some help with a script I'm trying to make, where when bob dies, henry dies too The script goes: EVENT onDeath(actor akKiller) but after that I'm not sure what to put?!?!(random names for effect)Thanks Link to comment Share on other sites More sharing options...
gasti89 Posted June 21, 2012 Share Posted June 21, 2012 Actor Property Henry auto Event OnDeath(actor akKiller) if akKiller == Game.GetPlayer() Henry.Kill() endif EndEvent Then save, exit, double click the script, click on the property, edit value and select you "Henry" NPC. This script will work only if the player kills Bob. To make everyone able to fire the event, remove the "if akKiller" and the "endif" parts. Link to comment Share on other sites More sharing options...
Recommended Posts