When you try to play animation trough switchMove command, there is no way, how to force AI to shot a weapon.
Description
Description
Details
Details
- Legacy ID
- 1464066833
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
- Put unit in the editor and name it "guy" for example.
- Then try using one of these:
http://community.bistudio.com/wiki/forceWeaponFire
http://community.bistudio.com/wiki/fire
http://community.bistudio.com/wiki/ArmA:_Actions#USEWEAPON
They should work.
- Play some animation by switchMove command, for example: guy SwitchMove "acts_CrouchingFiringLeftRifle01"
- Try those three commands again.
Event Timeline
Comment Actions
Maybe some animations are not meant to be fired from?
- spawn {player playaction "getover"; sleep 0.5; player forceweaponfire [currentweapon player,"single"]; sleep 0.1; player forceweaponfire [currentweapon player,"single"]}; <-works
- spawn {player playaction "sitdown"; sleep 0.5; player forceweaponfire [currentweapon player,"single"]; sleep 0.1; player forceweaponfire [currentweapon player,"single"]}; <-doesn't work
Comment Actions
@Killzone_Kid
Check the name of animation I mentioned - "acts_CrouchingFiringLeftRifle01" It's a cinematic shooting animation.
Comment Actions
Better question is can you fire your weapon by pressing LMB during animation? No, so why the forcefire command should work?
Comment Actions
Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.
If this issue is still relevant in current dev build, please re-post.