Jump to content

Recommended Posts

Hello i am current building a firing range for a unit, there are 12 individual shooting positions i.e 10 lanes. I have 5 popup targets per 100 meters with the popup targets start at 300 meters out and continue to 700 meters so all together 25 popup targets per 1 lane, with all 12 lanes i have 300 popup targets in total. I am looking for a script or some way to have the popup targets stay down at the start then when a certain range is chosen on a laptop i.e " i choose 300 meters all the popup targets for 300 meters popup and the ppl will be able to shoot them, they will fall, and go back up again. Untill i choose an option to make them go back down again" After this i would like to choose a second range i.e 400 Meters and do the same thing.

 

Can anyone help ive been trying to get this to work for a long time, 

 

 

 

Thanks 

Share this post


Link to post
Share on other sites

Let's start with these:

 

To disable the automatic reset of the targets, put this into init.sqf

nopop = true;

After that, you can operate the targets with animate command

targetObject animate["terc", 0]; // up

targetObject animate["terc", 1]; // down

Share this post


Link to post
Share on other sites

 

Let's start with these:

 

To disable the automatic reset of the targets, put this into init.sqf

nopop = true;

After that, you can operate the targets with animate command

targetObject animate["terc", 0]; // up

targetObject animate["terc", 1]; // down

Thanks for this ill try my best to get this implemented ill see how far i can get once again thanks for the response SHuko 

Share this post


Link to post
Share on other sites
On 1/16/2016 at 6:50 PM, shuko said:

Let's start with these:

 

To disable the automatic reset of the targets, put this into init.sqf


nopop = true;

After that, you can operate the targets with animate command


targetObject animate["terc", 0]; // up

targetObject animate["terc", 1]; // down

where do we put the animate commands on what trigger and where in the trigger or object ?

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×