Home   Help Search Login Register  

Author Topic: Objectives complete mission ends?  (Read 1059 times)

0 Members and 1 Guest are viewing this topic.

SandVoss

  • Guest
Objectives complete mission ends?
« on: 12 Nov 2005, 11:38:33 »
Odd as it may seem, I am unable to find a past topic, a tutorial, or a friend who knows how a mission can be ended by simply having all the objectives completed. Basically, in my mission, there are 3 seperate objectives to be completed. Once those objectives are completed, I want the mission to end, with a if possible, 8 second delay.

Anyone know how this is to be done?

Thanks in advance,

SandVoss.

Offline rado1265

  • Members
  • *
Re:Objectives complete mission ends?
« Reply #1 on: 12 Nov 2005, 11:47:45 »
Mission(s) end(s) with a trigger, with apropriate condition(s) in it of course.

Look in Type window of a triger, there you'll find End(s).

SandVoss

  • Guest
Re:Objectives complete mission ends?
« Reply #2 on: 12 Nov 2005, 12:19:42 »
Thats not really what I meant.  :P

 I would like to know how to make a mission end, once 3 different triggers that set 3 different objectives to end have been triggered.


Offline rado1265

  • Members
  • *
Re:Objectives complete mission ends?
« Reply #3 on: 12 Nov 2005, 12:37:23 »
As I said; when conditions in End trigger's Init will be met.

In first objective trigger add a condition in On Activation field, lets say con1 = true, then in next objective trigger put con2 = true, and so on ...  Then in End trigger in Condition field put those conditions (con1 and con2 and ...)

I hope that's what you're looking for.

« Last Edit: 12 Nov 2005, 12:40:58 by karantan »

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Re:Objectives complete mission ends?
« Reply #4 on: 12 Nov 2005, 12:40:21 »
Let every trigger set a variable:
obj1done=true
obj2done=true
obj3done=true


in the condition of the end trigger write:
obj1done && obj2done && obj3done

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Objectives complete mission ends?
« Reply #5 on: 12 Nov 2005, 13:03:38 »
Altneratively, set all 3 triggers to type End#1.   The mission will end only when ALL of the triggers have been fired.

(If you set multiple triggers to type Loose, the mission will end when ANY of them are are fired.)
Plenty of reviewed ArmA missions for you to play

Offline rado1265

  • Members
  • *
Re:Objectives complete mission ends?
« Reply #6 on: 12 Nov 2005, 13:58:08 »
Didn't know that, macguba.  This is good stuff, makes some things much easiest.
« Last Edit: 12 Nov 2005, 13:59:36 by karantan »

Offline 456820

  • Contributing Member
  • **
Re:Objectives complete mission ends?
« Reply #7 on: 12 Nov 2005, 21:28:59 »
Quote
Altneratively, set all 3 triggers to type End#1.  The mission will end only when ALL of the triggers have been fired.

(If you set multiple triggers to type Loose, the mission will end when ANY of them are are fired.)

tis in the ofp CWC walkthrough in the back it has an editing bit has many cool tips lke that i would suggest getting it if you havent already

just one thing about that is the end trigger #1 say its called trig1
when trig1's condition is active and should end the mission but since theres more triggers it doesnt end
but is the activation field activated ?

hope you understand that

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Objectives complete mission ends?
« Reply #8 on: 12 Nov 2005, 23:53:29 »
Yes, I think the "On activation" field of an ending type trigger would still be carried out even if the trigger was ending the mission.    However, depending on what instructions were in that field, they may or may not be completed before the mission ends.
Plenty of reviewed ArmA missions for you to play

SandVoss

  • Guest
Re:Objectives complete mission ends?
« Reply #9 on: 13 Nov 2005, 08:37:43 »
Thanks for all the advice, I figured it out.