Page MenuHomeFeedback Tracker

GunLightOn action broken.
Reviewed, WishlistPublic

Description

Action: GunLightOn will attempt to activate the flashlight attachment on the unit/player's primary weapon and ignores handgun/secondary weapons with flashlight attachments if the handgun is not the only weapon held by the unit. {F23994}

Details

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

1: Using secondary/handgun weapon with a flashlight attachment, while having a rifle/primary weapon in unit inventory.

2: Execute: player action ["GunLightOn",player];

3: Expected: If current weapon has flashlight attachment turn that on, else switch to other weapon if it has a flashlight attachment and use that.

Observed:
Unit will swap to primary weapon from current weapon, if primary weapon has flashlight attachment it will go on.

Additional Information

The following video demonstrates this behavior: http://youtu.be/keQCwGdnCpg
Additionally, I have attached the basic model and configuration files required to reproduce as per linked video.

Event Timeline

toadball edited Additional Information. (Show Details)
toadball set Category to Scripting.
toadball set Reproducibility to Always.
toadball set Severity to None.
toadball set Resolution to Open.
toadball set Legacy ID to 1352877397.May 7 2016, 6:38 PM