Home   Help Search Login Register  

Author Topic: Objectives, triggers, and endings  (Read 574 times)

0 Members and 1 Guest are viewing this topic.

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Objectives, triggers, and endings
« on: 07 May 2004, 23:02:40 »
Hey all. I have 3 triggers named obj1 obj2 and obj3. How can I make it so that the condition for the fourth trigger (hereafter refered to as end1) has the condition that Obj1, Obj2, and Obj3 all have been activated?

Thanks!

Insanoblan
Hey kid, wanna see a dead body!?

CrashnBurn

  • Guest
Re:Objectives, triggers, and endings
« Reply #1 on: 08 May 2004, 08:53:56 »
Are the triggers "named" or are those the conditions ?
If they're conditions, then your end trigger would be-

obj1 && obj2 && obj3

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Re:Objectives, triggers, and endings
« Reply #2 on: 12 May 2004, 00:16:17 »
those are the trigger names
Hey kid, wanna see a dead body!?

Loup-Garou

  • Guest
Re:Objectives, triggers, and endings
« Reply #3 on: 12 May 2004, 10:00:11 »
Condition : Obj1 and Obj2 and Obj3 (or Obj1 = true and Obj2 = true and Obj3 = true). I'm not sure. Sorry  :-\.

NOTE : the game seems to ignore "name" in triggers, and to "use" "text".

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Objectives, triggers, and endings
« Reply #4 on: 12 May 2004, 11:01:04 »
The engine does not ignore triggers name.
It's exactly the same as naming an unit of some sort.

If you name a trigger you can also deleteVehicle it if you wish...

The text part is just for the editor to keep track of which trigger does what...


BUT in this particular case you do not need the triggers to be named (actually it's quite rare to need them to be named).

What you need to do is to have the three triggers to be activated by something and have in the 'on Activation' field obj1 = true and so on, then use the end trigger as described in the above posts by having in it's 'condition' field the obj1 && obj2 && obj3...

No guarantees as usual...  :P
« Last Edit: 12 May 2004, 11:05:32 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Re:Objectives, triggers, and endings
« Reply #5 on: 16 May 2004, 19:40:54 »
Alright awesome! That worked well man, thanks for the help

PROBLEM s-s-s-s-s-SOLVED  :toocool:
Hey kid, wanna see a dead body!?