jamez_5 1 Posted August 17, 2016 Hey guys. I have found many lines of codes to players respawn but I want an AI to respawn on death. I found how to make my vehicles respawn and that was super quick. I want when an AI dies he respawns at the spot or death or his initial respawn. Also I want to add a noise if target is hit. For being hit i am using: this addEventHandler ["Hit", {targetHit = "Orange"}];this setObjectTexture [0,'#(argb,8,8,3)color(0.6,0.3,0,1)']; ----this is a code I found and cant figured out how to remove the color change and keep the hit detection. and in the trigger condition using : !(isnil "targetHit") but this does not work with multiple AI targets. Also I set the trigger to repeatable but the noise will only play once. Thanks in advance Share this post Link to post Share on other sites
jamez_5 1 Posted August 20, 2016 Just want to refresh to get some fresh eyes on my post. I am still lost at this. Share this post Link to post Share on other sites