Jump to content
Sign in to follow this  
major_upset

Move on after three targets have been spotted.

Recommended Posts

Ok I've got a recon mission where you have to ID three important units in a target area. (An officer, a ammo truck and an opposing sniper.)

I have a waypoint near the target with recon1 in it's condition field. And a trigger set to fire recon1=true when say the officer has been spotted, but I want it too fire, and let me evac, only after all three targets have been sighted.

I saw it some where on the forum on how to do this, but I lost it when my Internet browser decided to crash. banghead.gif

Cheers in advance...

Share this post


Link to post
Share on other sites

Try this with 3 triggers.

ap knowsabout officerOne

"1" objstatus "done"; objOne=true

ap knowsabout truckOne

"2" objstatus "done"; objTwo=true

ap knowsabout sniperOne

"3" objstatus "done"; objThree=true

Use a last trigger for whatever you want to tick next.

objOne AND objTwo AND objThree.

Use it to reveal an extra objective, end the mission, call an outro, sync it with the helicopter waypoint, etc. You can find all this kind of stuff if you use the search button on the old editing section smile_o.gif .

Share this post


Link to post
Share on other sites
Try this with 3 triggers.

ap knowsabout officerOne

"1" objstatus "done"; objOne=true

ap knowsabout truckOne

"2" objstatus "done"; objTwo=true

ap knowsabout sniperOne

"3" objstatus "done"; objThree=true

Tried that mate, but ArmA just gives me this bullcrap about a missing ; sad_o.gif And looking at it seems it's more for objectives in the map screen rather than unlocking the next waypoint.

I presume that if ArmA wound'nt be such a dick, the string would have gone in the condition field?

I want it so after the three targets have been spotted (sniper, ammo truck, officer.) something sets the nearby waypoint to true and lets me move on.

Thanks anyway.  

Share this post


Link to post
Share on other sites

Well, a recon mission with visible waypoints is not much of a recon mission dont you think?

Use a variable for each obj (like above) and put these variables as conditions in another trigger (like above) and now synchronize that last trigger with your first waypoint, you will be told to move on (to your next wp) after you do the objectives smile_o.gif .

Share this post


Link to post
Share on other sites
Well, a recon mission with visible waypoints is not much of a recon mission dont you think?

It is when I give a player a staight line to his/her objective, and then putting a s**t heap of enemy partols in between. it livens thing's up. whistle.gif

As for the trigger's, I have no idea where to start, I'm a total n00b confused_o.gif

Share this post


Link to post
Share on other sites
As for the trigger's, I have no idea where to start, I'm a total n00b confused_o.gif

Then I suggest you to read some tutorials first.

About the knowsAbout ... it doesn`t work, because command knowsAbout returns Number, not Boolean.

Share this post


Link to post
Share on other sites
As for the trigger's, I have no idea where to start, I'm a total n00b confused_o.gif

Then I suggest you to read some tutorials first.

About the knowsAbout ... it doesn`t work, because command knowsAbout returns Number, not Boolean.

Oops sad_o.gif.

Alternative.

Place a large trigger in the area and press F2, now drag a line betwean the trigger and the enemy officer.

Now select <group leader> detected by <blufor>

activation is once...

<On activation> "1" objstatus "done"; blablah...

Share this post


Link to post
Share on other sites
As for the trigger's, I have no idea where to start, I'm a total n00b  confused_o.gif

Then I suggest you to read some tutorials first.

About the knowsAbout ... it doesn`t work, because command knowsAbout returns Number, not Boolean.

Oops sad_o.gif.

Alternative.

Place a large trigger in the area and press F2, now drag a line betwean the trigger and the enemy officer.

Now select <group leader> detected by <blufor>

activation is once...

<On activation> "1" objstatus "done"; blablah...

Tried it and got it working cheers yay.gif

Share this post


Link to post
Share on other sites

I've found a second way.

1:

Place your playable unit and lay down two waypoints. both a good distence from the player.

2:

place three triggers that'll fire when three units (say ammo trucks) are present. and group them to their own trigger. (Truck 1 to trigger 1 etc. Remember to give the trucks waypoints so they'll drive to, and fire the triggers.)

3:

synchronize the three triggers to the players first waypoint, and try it out.

It works, and you can't move on till all three triggers have fired. No scripting needed. pistols.gif

Anygood? Or just n00bishness on my part?

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
Sign in to follow this  

×