Page MenuHomeFeedback Tracker

forceWeaponFire and call BIS_fnc_fire didnt works with animations
Closed, ResolvedPublic

Description

example : "Acts_CrouchingFiringLeftRifle03"
this animation have the canPullTrigger= 1 parametr
in > a3\anims_f\config\sdr\config.cpp
you can fire the weapon if it's 1, if it's 0 you simply cannot

but when u trying to force shoot with this commands - it didn't work

Details

Severity
Tweak
Resolution
No Bug
Reproducibility
Always
Operating System
Windows 7
Category
Config
Steps To Reproduce

player switchMove "Acts_CrouchingFiringLeftRifle03";

_weapon = currentWeapon player;
_ammo = player ammo _weapon;
player setAmmo [_weapon, 1];
player forceWeaponFire [_weapon, "FullAuto"];
player setAmmo [_weapon, _ammo];

Event Timeline

Sorry, All works

  • spawn{

x1 PlayMove "Acts_Executioner_Kill";
sleep 4;
x1 forceWeaponFire ["hgun_P07_F", "single"];
x1 PlayMove "Acts_Executioner_Kill_End";
}

Wulf closed this task as Resolved.Mar 20 2018, 2:55 PM
Wulf claimed this task.
Wulf changed Resolution from Open to No Bug.