In effect, switching the player's equipped weapon from their handgun to their primary weapon via scripting functions is bugged in all stances aside from the default standing. When standing, a player may be cycled through any of their weapons without issue via selectWeapon. In any other position, every other transition works correctly (ie between secondary and primary weapons, and handgun and secondary weapon), however switching directly from pistol to rifle does not. The primary weapon will be considered equipped, however the player is unable to move, and firing will fire the weapon straight upward as it rests on the player's back.
Description
Description
Details
Details
- Legacy ID
- 2275707458
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Anims
Steps To Reproduce
Enter the editor and create a unit, and execute the following while crouched a handgun equipped:
player selectWeapon (primaryWeapon player)
Event Timeline
Comment Actions
Those stances (animationState player) are:
"aadjpercmstpsraswpstdup"
"aadjpercmstpsraswpstddown"
"aadjpercmstpsraswpstdright"
"aadjpercmstpsraswpstdleft"
"aadjpknlmstpsraswpstdup"
"aadjpknlmstpsraswpstdright"
"aadjpknlmstpsraswpstdleft"
"aadjpknlmstpsraswpstddown"
"aadjppnemstpsraswpstdup"
"amovppnemstpsraswpstdnon"
"aadjppnemstpsraswpstdright"
"aadjppnemstpsraswpstdleft"
"aadjppnemstpsraswpstddown"
Comment Actions
Is this issue really belongs to "Anims" category? Maybe "Scripting"? What do you think?