Page MenuHomeFeedback Tracker

Ai does not use lasers, flashlights etc
Reviewed, NormalPublic


when at night during combat the AI do not turn on their laser or flashlight attachments.

also is no way of commanding them to either.


Legacy ID
AI Issues
Steps To Reproduce

self explanatory :)

Event Timeline

tyl3r99 edited Steps To Reproduce. (Show Details)Mar 11 2013, 2:06 PM
tyl3r99 edited Additional Information. (Show Details)
tyl3r99 set Category to AI Issues.
tyl3r99 set Reproducibility to Always.
tyl3r99 set Severity to Major.
tyl3r99 set Resolution to Open.
tyl3r99 set Legacy ID to 73421233.May 7 2016, 12:17 PM
cashxx added a subscriber: cashxx.May 7 2016, 12:17 PM

Haven't tested this yet, but would be cool watching a patrol looking around with flashlights and stuff as they patrol around a base/camp, etc. Be life like and easy to see the targets where they are. Guard dogs, etc.

AI's are using flashlight once they are in COMBAT mod.

R3con added a subscriber: R3con.May 7 2016, 12:17 PM
R3con added a comment.Mar 13 2013, 2:24 PM

I can't get AI to use the flashlight even in combat-mode.
Also enableGunLights doesn't work for me.

TTc30 added a subscriber: TTc30.May 7 2016, 12:17 PM
TTc30 added a comment.Mar 24 2013, 2:10 AM

It makes no sense to turn your flashlight on in combat, it's makes more sense to have it turned on when in aware state

This can go either way......if you have no night vision how are you supposed to see then, just shoot into the dark?

i suppose this is 50/50..

i mean they do not even use lasers :(
and i think people should carry extra attachments i.e.

a command "go silent" then ai attach silencers... etc..[SPECIAL FORCES UNITS]

Place this into you init.sqf:
{_x enableIRLasers true} forEach (units group player);

Your AI must be in behavior "combat", in order for them to turn on the lasers.

The information in the wiki seems to be wrong, in order to use gunlights try this:

{_x enableGunLights "AUTO"} forEach (units group player);

Also take note that the AI will not use flashlights if they have NVGs on. So if you remove their NVGs and place the code below into the init.sqf they will use the flashlights if they are in behavior "combat".

{_x enableGunLights "AUTO"} forEach (units group player);

Using this in the init.sqf they will immediately turn on the lights regardless if they have nvgs or what their behavior is.
{_x enableGunLights "ForceOn"} forEach (units group player);

Hope this helps

Hanz added a subscriber: Hanz.May 7 2016, 12:17 PM
Hanz added a comment.May 22 2013, 11:35 AM

This issue was processed by our team and will be looked into. We thank you for your feedback.

The problem is that units in safe mode will only light their own feet because of the weapon being pointed downn.

Lasers and flashlights have no effect on AI. No reason for AI to use them until an effect is actually implemented.

agreed but regardless but it will feel more realistic for the player anyway :)

I also agree with galzohar, upvote this to force developers to make AI react to the lasers

deleted comment