Jump to content

Recommended Posts

Hi, I am trying to make a shoot house for my group and a method of practicing on targets. I would prefer it if I can have pop up targets stay down when shot till they are reset. But I have no idea how to do that. My alternative would be to place down VR entities and have them respawn where they died after a addaction or 30 seconds. Any help would be much appreciated. :)

Share this post


Link to post
Share on other sites

Try define variable:

nopop = true

Then, to popup target manually:

_target animate["terc", 0]

To get all mission targets:

AllMissionObjects "TargetBase"

Share this post


Link to post
Share on other sites

A a cqb training project, one would assume you have more than 1 shoot house?

So i would do the following:

 

1) Place your targets inside your first shoot house and name them:

House1_Target1, House1_Target2, House1_Target3, House1_Target4 etc....

 

2) outside the house, place an infostand and use addaction within init:

this addAction ["Reset Targets", "popup.sqf"]

 

3) popup.sqf:

house1_target1 animate["terc", 0]
house1_target2 animate["terc", 0]
house1_target3 animate["terc", 0]
house1_target4 animate["terc", 0]
house1_target5 animate["terc", 0]
// Continue to equal the amount of targets
hint "Shoot House 1 Targets reset";

 

It's easy to sort once you've done it once :)

Serena was correct in their post, i just thought i'd elaborate a little.

 

( You can name popup.sqf to house1_reset or similar, just be sure to update the addAction to show this change )

 

Regards

Share this post


Link to post
Share on other sites
11 hours ago, serena said:

To get all mission targets:


AllMissionObjects "TargetBase"

Careful with this if you are using any railings for moving targets - they are also part of the "TargetBase" family.

Interestingly enough, the swivel targets do not use "TargetBase" as a parent, so you need to get those through one of the parents.

Share this post


Link to post
Share on other sites

Interesting, i honestly never knew about "popDelay" lol

That's going in my scrap book :)

Share this post


Link to post
Share on other sites
1 hour ago, RoryRothon said:

Interesting, i honestly never knew about "popDelay" lol

That's going in my scrap book :)

 

Quote
  • Tweaked: The "popup" and "popdelay" variables can now be set directly on each pop-up target individually and will override global settings 


All you need is to follow Chanege Log

Share this post


Link to post
Share on other sites
9 hours ago, killzone_kid said:

 


All you need is to follow Chanege Log

Cool, thanks for the info.

Share this post


Link to post
Share on other sites
22 hours ago, killzone_kid said:

 


All you need is to follow Chanege Log

 

Which changelog was this from? 

Share this post


Link to post
Share on other sites

 

2 hours ago, igneous01 said:

 

Which changelog was this from? 

 

Have you tried clicking on the link?

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

×