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: How to use condition of presence?  (Read 623 times)

0 Members and 1 Guest are viewing this topic.

Black Operative

  • Guest
How to use condition of presence?
« on: 24 Jun 2003, 23:30:20 »
Hi again (second topic of mine today ;D)!

How do you use the condition of presence field to determine if a building is present or not? Let's say the variable "building1" is randomly true or false (done in the init.sqs). I write into the condition of presence field of my building "building1" so that the building is present when building1 is true. But when I preview the mission in the editor building is NEVER present, also when the variable is true.


Does anyone know what I'm doing wrong?  ???

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How to use condition of presence?
« Reply #1 on: 24 Jun 2003, 23:57:55 »
put in da condition of presence da next line

random 1< 0.5

it shud work (or ny oder random thingy ;D)

i think dats cuz da buildings laod b4 da init things ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta