Jump to content
Sign in to follow this  
BlackDeath-CFH

All objectives complete for mission to end.

Recommended Posts

im working on a spetz natz mission where you have to take out 2 radar stations.. now the trigger for radio station 1 is: "1" objstatus "DONE"

and 2 is: "2" objstatus "DONE";

now when you go to the last objective (which is to destroy 3 planes in hangers)i dont want the mission to end unless you have completed the objectives of destroying the rdar stations

Share this post


Link to post
Share on other sites

in the two triggers:

On act: obj1=true; "1" objstatus "DONE"

On act: obj2=true; "2" objstatus "DONE"

And the condition when they activate

like:

cond: not(alive station)

create a 3rd trigger:

cond:

not(alive plane1) AND not(alive plane2) AND not(alive plane3)

on act: obj3=true

the 4th trigger goes like this:

Cond: (obj1) AND (obj2) AND (obj3)

On act: "3" objStatus "DONE"

You could try if this works..

Or just use the search function, I'm sure you'll find more then one treads....

Share this post


Link to post
Share on other sites

its a little hard for me to understand..

heres a better explanation.. your a group of spetz natz sent in to take out the rdar stations (2 on the map) the first trigger for the first station activates when no one else is there.. activation: west 'not present' activation field: "1" objstatus "DONE"

second trigger for the second station is.. activation: west 'not present' activation field: "2" objstatus "DONE"

third trigger is.. condition: not (alive p1); not (alive p2); on activation: "3" objstatus "DONE"; type: end1

so what would i need to put in to make it so the game doesnt end unless the 2 rdar stations are dead

Share this post


Link to post
Share on other sites

I'm working on a similiar mission and am having trouble myself. I keep getting this error:

"'(obj1) and (obj2) |#|': Error Type Object, expected Bool"

Any sort of help would be much appreciated.

Share this post


Link to post
Share on other sites

You have the trigger where you set "1" objStatus "DONE".

Add line obj1completed = true to it, like this:

"1" objStatus "DONE"; obj1completed = true

Do this for the other trigger(s) too, just change the

obj1completed to obj2completed, and so on.

Then make a trigger of type "End 1", and put in the condition

field:

obj1completed AND obj2completed,

so it activates when both (all) objectives are completed.

Other way to do this (untested since I've never needed it).

Make all the "objective" triggers to be of type "End 1".

If you have multiple "End 1" triggers, "End 1" activates when

all those triggers are activated.

Hope this helps!

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  

×