RabbitxRabbit 1 Posted March 19 I'm creating a scenario with zombies. The first one they encounter starts off as blufor so it doesn't attack the players, but a trigger makes it switch to "EAST" side when you get close enough. The problem is, when it switches sides my team of ai immediately attack and kill it before it can attack the players. Is there a way to have your ai ignore it for a few seconds so that it attacks the players before they start shooting at it? Thank you in advance! Share this post Link to post Share on other sites
mrcurry 496 Posted March 19 4 hours ago, RabbitxRabbit said: Is there a way to have your ai ignore it for a few seconds so that it attacks the players before they start shooting at it? When you switch it's side also use: unit setCaptive true; Then when you want it to be shot at do: unit setCaptive false; Share this post Link to post Share on other sites
RabbitxRabbit 1 Posted March 21 On 3/19/2024 at 1:17 AM, mrcurry said: When you switch it's side also use: unit setCaptive true; Then when you want it to be shot at do: unit setCaptive false; Excellent! Thank you so much! Share this post Link to post Share on other sites