I'm using 3 practice target in a shooting range...when you come to the shooting stand, i call this script from a trigger
#start
_targets = [targetc7l3_1,targetc7l3_2,targetc7l3_3]
? c7convl3check == 0 :goto "end"
_number= random 3
_number = _number - (_number % 1);
? _old == _number:goto "start"
_old = _number
hint format["%1",_number]
(_targets select _number) setDamage .7
~2
goto "start"
#end
exit
the problem is i always only 2 target working i can't have 3...what i'm doing wrong?