Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: need help setting a trigger condition  (Read 1619 times)

0 Members and 1 Guest are viewing this topic.

Offline BensTooCool

  • Members
  • *
need help setting a trigger condition
« on: 28 Mar 2007, 23:56:39 »
I'm trying to set a trigger that will activate when anyone 1 of 3 variables are true, I tried putting this in the condition field: "obj0 or obj1 or obj2" but this just has the same effect as using "obj0 and obj1 and obj2"

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: need help setting a trigger condition
« Reply #1 on: 29 Mar 2007, 09:10:37 »
Try to init these variables to false first!!!

Use init.sqs:
obj1 = false
obj2 = false
obj3 = false


and later you can use   obj1 or obj2 or obj3

Fix bayonet!