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: aircraft lights  (Read 626 times)

0 Members and 1 Guest are viewing this topic.

Offline markcla

  • Members
  • *
  • I'm a llama!
aircraft lights
« on: 25 Apr 2004, 21:32:44 »
How do you get an aircraft, such has the cessna, to keep it's lights switched on.  The command <obj action ["LIGHTS ON"]>, switches the lights on then they immediately switched off!

Thanks.

csde-PiLLe

  • Guest
Re:aircraft lights
« Reply #1 on: 25 Apr 2004, 21:45:28 »
Well, with anything but safe or careless, the AI tends to keep the lights off.

Cheers
PiLLe

PsyWarrior

  • Guest
Re:aircraft lights
« Reply #2 on: 25 Apr 2004, 22:21:51 »
Greetings,

Clarification: Try
unitName setBehaviour "SAFE"
or if the plane is in a combat zone
unitName setBehaviour "CARELESS"

Note that it must be dark enough for this to work. If it is still daylight, the AI refuses to activate it's lights under any circumstances.

-Supreme Commander PsyWarrior
-Psychic Productions Studios