Page MenuHomeFeedback Tracker

AI wont keep lights turned on when scripted to do so!
New, WishlistPublic

Description

Currently you can not force an AI vehicle to turn their lights on or off. For example, I want an Orca Heli to have its lights on at night, but can not without a dirty and wasteful script that loops every frame or 0.01 seconds.

I would also like to be able to disable UGV lights VIA script, but also allow a UAV operator to switch them on or off. I am already aware that the operator can force them off in the UAV terminal, but that's not what I need.

Details

Legacy ID
1444168493
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Control / Commanding
Additional Information

The code that works, but is very wasteful:

null=[] spawn { while {true} do { player action ["lightOn", VEHICLE_NAME]; sleep 0.01};};

Related: http://feedback.arma3.com/view.php?id=12992

Event Timeline

Benargee edited Steps To Reproduce. (Show Details)Feb 8 2015, 8:40 PM
Benargee edited Additional Information. (Show Details)
Benargee set Category to AI Control / Commanding.
Benargee set Reproducibility to Always.
Benargee set Severity to None.
Benargee set Resolution to Open.
Benargee set Legacy ID to 1444168493.May 7 2016, 8:14 PM

Yea, BI, if you can, please make a script command to allow us to force lights on AI. Attaching a light isn't really useful when there is already a light...

https://community.bistudio.com/wiki/setCollisionLight and https://community.bistudio.com/wiki/setPilotLight are useless right now. They only work for a single frame!

This is still an issue on the dev branch.