Home   Help Search Login Register  

Author Topic: Turn the car lights off using AI. How to?  (Read 938 times)

0 Members and 2 Guests are viewing this topic.

Offline MIG

  • Members
  • *
  • Cuidado, estou de muito mau humor...
    • Operation Farmland
Turn the car lights off using AI. How to?
« on: 11 Apr 2005, 10:48:58 »
Hi friends

I've created a AI unit named "guy"

I've created an empty car named "truck"

I've moved the unit to the empty car with the command "guy moveindriver truck"


Now that's a night mission and i want that Guy turn is car lights off before reaching his objective:

I've used the command "guy action ["light off", vehicle truck]" wich seem to be the more logical but didn't work.

What command should i place to turn lights off?

Thanks in advance,

MiG




p.s: i've tryed several other commands, including some streetlamp commands but nothing work.







Offline Blanco

  • Former Staff
  • ****
Re:Turn the car lights off using AI. How to?
« Reply #1 on: 11 Apr 2005, 11:08:46 »
Try :

Code: [Select]
guy action ["light off", vehicle guy]or
Code: [Select]
truck setbehaviour "stealth"
Search or search or search before you ask.

vandeveen

  • Guest
Re:Turn the car lights off using AI. How to?
« Reply #2 on: 11 Apr 2005, 11:48:25 »
additional you can use waypoints.

"behaviour" safe = lights on
"behaviour" i.e combat = lights off

if you want to beware yourself of the writing ...  ;)
« Last Edit: 11 Apr 2005, 11:50:00 by vandeveen »

Offline MIG

  • Members
  • *
  • Cuidado, estou de muito mau humor...
    • Operation Farmland
Re:Turn the car lights off using AI. How to?
« Reply #3 on: 11 Apr 2005, 12:56:26 »
Try :

Code: [Select]
guy action ["light off", vehicle guy]or
Code: [Select]
truck setbehaviour "stealth"


Thanks Blanco and vandeveen , you have solved my prob :)

First one, i've tryed it before but didn't work or better, it works but only during a fraction of second, the second is quite obviously (how dummy i am  ;D) and solved the situation perfectly  :)

« Last Edit: 11 Apr 2005, 12:59:16 by MIG »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Turn the car lights off using AI. How to?
« Reply #4 on: 11 Apr 2005, 21:30:19 »
OK. WHAT IS WITH this forum and similiar threads in a few days gaps... This really starts to get spooky... :o

:beat: *Gets Shot* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Turn the car lights off using AI. How to?
« Reply #5 on: 12 Apr 2005, 10:07:06 »
It's not starting to get spooky, its always been spooky.    

It is really weird.  I haven't been able to think of a rational explanation.
Plenty of reviewed ArmA missions for you to play