Jump to content
Sign in to follow this  
Konyak

Turn Car light on command

Recommended Posts

Hi, I am trying to make a script in which a tank drives slowly with the turret scanning around, and the lights on the tank come on and off now and then. I can't find any command in the reference guide as to how to make AI turn on the lights !! Anyone know the magic word? Please? smile.gif

Konyak

Share this post


Link to post
Share on other sites

Thanks, but not sure if that worked. I made waypoints and put that line in the activation field, but the tank had it's lights on when it came by. Seems it has its lights on when in safe behaviour, and off in stealth behaviour. In safe behaviour, it wouldn't turn the lights off even if I told it to with action "LIGHTOFF". Any ideas?

Konyak

Share this post


Link to post
Share on other sites

That's what I had been doing, but it's a stupid way of doing it. That way you have tank crews turning out and in as if someone keeps farting inside the tank, just to turn the lights on. Besides that, they move differently in different modes.

Anyway, they have the unitname action "LIGHTON" command, so it should be possible. I find it hard to believe that this is something nobody knows how to do. smile.gif

Please enlighten us smile.gif

Konyak

Share this post


Link to post
Share on other sites

your tanks behaviour can only be safe or careless for it to turn on its lights

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×