Home   Help Search Login Register  

Author Topic: Checking Objectives Status  (Read 503 times)

0 Members and 1 Guest are viewing this topic.

gimboid364

  • Guest
Checking Objectives Status
« on: 23 Dec 2004, 14:54:37 »
Hi all, I have looked in the ed depot but i cant seem to find the info im after. How would i make an ai waypoint activate when a certain objective is achieved?

e.g in my mission tanks attack and capture base, i want the tanks to move to anothr waypoint when the "capture" objective is achieved.

any help appreciated thanks  ;D

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Checking Objectives Status
« Reply #1 on: 23 Dec 2004, 14:57:37 »
I am not aware of any way to check the status of an objective.  What you can do is use the same condition that changes the objective status in the condition field of the waypoint.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Checking Objectives Status
« Reply #2 on: 23 Dec 2004, 15:01:42 »
synchronize the waypoints to a trigger, then the 1st waypoint won't be completed until the trigger condition is satisfied   i.e.

1st waypoint   seek and destroy
synchronized with a trigger covering the objective area  condition enemy side not present

or

1st waypoint  seek and destroy
synched to a trigger   condition obj1

gimboid364

  • Guest
Re:Checking Objectives Status
« Reply #3 on: 23 Dec 2004, 15:04:27 »
thanks that helps a ton :-)

ThEoNeAnDoNlY

  • Guest
Re:Checking Objectives Status
« Reply #4 on: 24 Dec 2004, 17:43:21 »
hmm i think you could also do

put the capture objective, and in the on activation field, put.

"1" objstatus "done" , obj1 = true.

and then sinc it to a trigger with the conditions field being "? obj1"

or something similar, i just did that of the top of my head so i dont know how well it would work

Guy

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Checking Objectives Status
« Reply #5 on: 24 Dec 2004, 17:52:08 »
almost, you wouldn't use the ?
thats only for scripts, in trigger conditions it basically uses that command without you putting it there

if you've ever noticed, when your trgger conditions don't invole the default present not present things, but something else(say !(alive guy1), when you look at the trigger on the map(running your mouse curor over it so it tells you the little summary thing) it will show:
? !(alive guy1)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Checking Objectives Status
« Reply #6 on: 30 Dec 2004, 14:03:19 »
"Objectives" don't exist until you create them, usually with triggers.   Therefore, when you want to know whether an objective has been completed what you are actually doing is checking to see whether a trigger has been fired.    
Plenty of reviewed ArmA missions for you to play