Page MenuHomeFeedback Tracker

Command: action "loadmagazine" not playing weapon animation with id = 0
New, NormalPublic

Description

when using the command action:
player action ["loadmagazine", player, objNull, 0, 0, currentWeapon player, currentMuzzle player];
if the id is 0 it should play the weapon animation but instead nothing happens

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
21H1
Category
Scripting
Steps To Reproduce
  1. Go to editor
  2. Execute in debug console:
player action ["loadmagazine", player, objNull, 0, 0, currentWeapon player, currentMuzzle player];

Expected: weapon animation

Additional Information

No errors in the rpt
Not using any mods
The command work as intended if instead of 0 i get a magazine id with the command:

magazinesDetail player;

but that doesn't only play the animation it even reload the magazine

Event Timeline

koalas created this task.Sep 6 2021, 1:01 PM
koalas renamed this task from Command action "loadmagazine" not playing weapon animation with id = 0 to Command: action "loadmagazine" not playing weapon animation with id = 0.
dedmen added a subscriber: dedmen.Nov 15 2021, 7:14 PM

if the id is 0 it should play the weapon animation

Where did you get that from, that it should do that?