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: AI gunner turns on light, then no light??  (Read 1264 times)

0 Members and 1 Guest are viewing this topic.

NAA_Anton

  • Guest
AI gunner turns on light, then no light??
« on: 21 Oct 2002, 01:34:26 »
Hi!

I'm making a mission (obviously), and it involves having AI pilots board an MI24, for support reasons,  and then move to assigned waypoint, then seek and destroy the player. Here's how it's set up:

1. Trigger sets whole thing in motion.
2. First of 2 AI pilots gets into helo.
2a. In the waypoint, i've put: mi01 action ["LIGHTON"]
3. Helo starts engine and then light goes off.
4. Helo flies to waypoint perfectly.

My question is, how can it be set up so that the lights don't turn off? The mission I'm making is driving me nuts! I need some relief, cuz I just can't think anymore.

Any help would be appreciated....
Anton

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:AI gunner turns on light, then no light??
« Reply #1 on: 21 Oct 2002, 03:07:14 »
A more reliable way to muck around with the lights on a vehicle is by using the vehicles combatmode.

If your combatmode is set to:
  • Stealth
  • Aware
  • Combat
The unit will turn off it's lights. If it is set to safe or careless, it will keep them on.

However, one to thing to be aware of is that if you set your combatmode to safe, as soon as your unit detects an enemy it will change it's combat mode to aware (and turn it's lights off).

So a solution to your problem, I suggest you set it's combatmode to careless ;) It will still engage enemy units, but it will keep it's lights on

NAA_Anton

  • Guest
Re:AI gunner turns on light, then no light??
« Reply #2 on: 21 Oct 2002, 05:56:29 »
 :-* I could kiss you.

It worked, and I can't believe I didn't think of it...Awesome! You rule man! Whoooo!

Anton