Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
icomrade

Skip/Prevent Animation in Action Command

Recommended Posts

So I have an action set up for the player like so, It's event driven (mostly by key presses and configs). The issue with it is that the player must perform the animation to open his gear when this command is used and since it's called by monitoring which keys are pressed this is an issue when running or in combat as it requires you to stop, lower your gun and crouch.

player action ["Gear", player];

That's it, it's pretty simple. I know some of you are thinking, why not just use createGearDialog, well it's simple, I need to be able to open the backpack of the player and have the gear slots pop up so I can use the gearSlotData command on the inventory to determine count of magazines.

Perhaps someone knows a way to skip the animation (similar to the way createGearDialog works) or how to use gearslotdata or a similar command on the list of backpack items when opening a players gear without using a container (so the backpack contents show on the listbox in the gear dialog).

What I've tried:

1. playAction ""; / playActionNow ""; or other related commands such as switchmove etc.

2. Selecting a weapon as objNull, grenade.

Thanks.

Share this post


Link to post
Share on other sites

Just tried editing the animations in the configs and getting the data by lbdata/value and related commands to no avail.

Anyone...?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×