Home   Help Search Login Register  

Author Topic: How do I turn off the lights on a moving AI vehicle?  (Read 568 times)

0 Members and 1 Guest are viewing this topic.

Gumby

  • Guest
The question is simple.

But somehow I cant get it to work!

How do I turn off the lights on a moving AI vehicle?

I have a spec ops team, which I want to drive through the night in a car. BUT with the lights turned off.

I have tried using

car action ["light off", car]

Any suggestions???

« Last Edit: 02 Jun 2003, 08:59:59 by Gumby »

Kaliyuga

  • Guest
Re:How do I turn off the lights on a moving AI vehicle?
« Reply #1 on: 02 Jun 2003, 09:33:33 »
this setbehaviour "stealth"

always does the trick for turning those lights off in a vehicle ;)

:toocool:

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:How do I turn off the lights on a moving AI vehicle?
« Reply #2 on: 02 Jun 2003, 17:34:42 »
The AI will only turn on ( turn on  ??? ::) ;D ) *cough* uuum, them LIGHTS dammit, if they feel either SAFE or CARELESS; so, any behaviour !=safe || careless is == no stinkin' lights on!

JDSH

  • Guest
Re:How do I turn off the lights on a moving AI vehicle?
« Reply #3 on: 08 Jun 2003, 00:17:32 »
THIS WORK NOMATTER WHAT MODE THEY IN (Stealth,safe,aware,ETC.......)

 Make a script called   anything.sqs
-
In the init field type
                          [this] exec "anything.sqs"

NOTE ----- I find that if using more than one vehicle  name each vehicle or M2 achine gun and instead of using [this] exec "anything.sqs" use instead
[whatevername] exec "anything.sqs"  Dont know why they all wont work wit [this]
so use it this way instead unless you know how to do it some other way.

NOTE2 ----- Somebody informed me that because this is a very fast loop that it might cut down performance a little but I have had no trouble dont try to put
~0.1 or even ~0.01 in loop because this need to be very fast otherwise it will look like strobe lights instead HOPE SOMEBODY FINDS BETTER WAY OR BIS FIXES THIS BUG THANKX.

------------------------------------------------
#A
_this select 0 action ["Light Off"]
goto "A"
--------------------------------------------------
Simple Huh
I just found this out ;D ;D ;D

    The reason for this is that the action ["Light Off"] command does work! BUT it only turns off for a very split
sec I found this out by using this tool DL from this sight on the bottom of the screen that allows you to type script in the game and execute it LIVE ITS CALLED
                                             (((console1.21.zip))))

http://home.arcor.de/vektorboson/downloads/console1.21BETA.zip
                                    by
Console for OFP by Vektorboson <vektorboson@gmx.de>
for updates see http://home.arcor.de/vektorboson ;D ;D

DOWNLOAD EXAMPLE MISSION WIT SCRIPT HERE!!!!!!!!!!
« Last Edit: 08 Jun 2003, 00:25:57 by JDSH »

unkie

  • Guest
Re:How do I turn off the lights on a moving AI vehicle?
« Reply #4 on: 08 Jun 2003, 08:32:04 »
i cannot get this working for the ww2 C47..