Arma 3
How to get targets to pop back up with or without scripts
I want to setup a shooting range for me and my friends to practice our shooting for our missions. I was going to use the yellow targets but as far as i know they don't pop back up once shot.

is there a script i could run for them to flip/pop back up ?.

Thanks.
< >
Showing 1-2 of 2 comments
Alaskan Glitch Mar 3, 2021 @ 10:08pm 
The first thing you need to do is give your targets a name (e.g., target1, target2, etc.). Then put all the named targets into an array, as follows:

Targets = [target1, target2, target3];

Next, add event handlers to those targets:

{ _x addEventHandler ["HIT", { _x animate ["terc", 1]; //to make the target stay down when hit }]; } forEach Targets;

Next, add a laptop, or some other object you can use to reset the targets, and add this Action to the object Init property:

this addAction ["Reset Targets", { { _x animate ["terc", 0]; //pops the targets back up } forEach Targets; }];
Last edited by Alaskan Glitch; Mar 3, 2021 @ 10:10pm
Originally posted by Alaskan Glitch:
The first thing you need to do is give your targets a name (e.g., target1, target2, etc.). Then put all the named targets into an array, as follows:

Targets = [target1, target2, target3];

Next, add event handlers to those targets:

{ _x addEventHandler ["HIT", { _x animate ["terc", 1]; //to make the target stay down when hit }]; } forEach Targets;

Next, add a laptop, or some other object you can use to reset the targets, and add this Action to the object Init property:

this addAction ["Reset Targets", { { _x animate ["terc", 0]; //pops the targets back up } forEach Targets; }];
Thanks. Worked like a charm :)... I did have a question about seeing Custom Ranks over players heads in some Arma 3 Videos recently. How can I add those as well ?. like Squad leader, Private 1st class etc. How can i go about adding the insignia's over their heads ?.

Thanks for the help again.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Mar 1, 2021 @ 5:41am
Posts: 2