View Full Version : AI turn lights off???
Nov 15 2001, 23:04
How do I get an AI controlled vehicle to turn its lights off?http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/confused.gif
Anyone knows?? I've already tried the searchfunction in vain..
Nov 15 2001, 23:11
unitname action lightoff
unitname action ["lightoff"]
i can't try it right now - i'm @<hidden> work
(Edited by DV Chris Death at 2:12 am on Nov. 16, 2001)
Nov 15 2001, 23:24
I've already tried that.. http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif
I named the AI controlled UH-60 to Heli.. then I set in the init field "Heli action ["lightoff"]" but the still have the lights on.. any other idea?
Nov 16 2001, 00:41
maybe it could be, that you need
a specific unit to do this in a specific
vehicle (both need names)
it's only a suggestion, i still can't
try it, 'cause i'm still @<hidden> work http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif
Nov 16 2001, 08:19
You could try setting their behaviour to combat, and they should turn their lights off.
Nov 16 2001, 10:46
Thanks.. the behaviour thing worked... http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif
just one problem though... I want the chopper to sneak in over enemy lines at night.. without detection.. and If I have them at "combat" mode they will engage the enemy upon detection.. I don't want that.. and when I use the "Careless" mode they have their lights on...
any other help?
Nov 16 2001, 11:05
Set the "combat mode" to Never fire, and if this don't work, set ammo to zero.
Nov 16 2001, 11:09
In a nut shell,
1) set the behaviour to COMBAT,
2) set the combat mode to "Never Fire" (or set the ammo to zero)
Nov 16 2001, 11:11
it seems that when the chopper detects the enemy the flyinheight won't work since it pops up to around 100m and becomes a great sitting duck for enemy AA..
That's the main problem... I've tried the never fire and all that... but I want the chopper to stay at about a height of 20m and not care about what's going on around it... with its lights turned OFF!!! http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif
Nov 16 2001, 11:17
It's down to the AI then, i think theres a command for switching the AI off..............
Nov 16 2001, 11:19
ok.. Thanks for all the help.. http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif
Nov 16 2001, 11:21
I found this, but I haven't tested it yet
unitName DisableAI “aiArea”
aiArea indicates the area of the AI to disable. Valid values are :
"target" - ?
"autotarget" – Automatically targeting
"move" – Automatically moving
Try disable the automatic targeting
I know when I tell the guys in my platoon to go stealth they turn their lights off maybe something in the scripting to set the AI to stealth
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.