Page MenuHomeFeedback Tracker

GunLightOn and IRLaserOn actions reset fire-mode
New, WishlistPublic

Description

performing "GunLightOn" or "IRLaserOn" actions on the player will reset his fire mode.

For example, if you carry a weapon with UGL and have it selected, performing either of those two actions will change the fire-mode to "single".

This is also true if you have selected "fullauto" or some other fire-mode and use those commands.

Please fix this as there are no alternative commands to my knowledge that can switch on IR Lasers or flashlights.

player action ["GunLightOn",player];
player action ["IRLaserOn",player];

Details

Legacy ID
465559292
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Place a unit (any unit as long as he has an automatic weapon) on the map.

Give him both accessories:

player linkItem "acc_flashlight";
player addItem "acc_pointer_IR";

Select "full auto" or "burst"

Paste this in your debug monitor:

player action ["GunLightOn",player];

Note that the light is switched on and you now are in single-shot mode.

Change to IR laser and repeat with

player action ["IRLaserOn",player];

Event Timeline

DasAttorney set Category to Scripting.
DasAttorney set Reproducibility to Always.
DasAttorney set Severity to None.
DasAttorney set Resolution to Open.
DasAttorney set Legacy ID to 465559292.May 8 2016, 11:36 AM
denys added a subscriber: denys.Jun 16 2016, 10:40 PM