User Details
User Details
- User Since
- Jun 2 2013, 8:03 AM (603 w, 4 d)
May 10 2016
May 10 2016
kuh111578 added a comment to T64657: Add randomness to AI rate of fire.
You can break up the AI shooting randomly with something like :
while {true} do {
{
if (random 1 > 0.83) then { _x setCombatMode "YELLOW"; } else { _x setCombatMode "BLUE"; }
} foreach allunits;
sleep 1;
};
This would lower the rate of fire overall by making pauses between bursts and shots.