Tirpitz93 / TIRP-Tactical-Ready-Position

0 stars 0 forks source link

Ready positions in ladders #5

Open AirShark07 opened 7 months ago

AirShark07 commented 7 months ago

Climbing some ladders triggers position ready I dont remember if this bug existed in older versions of tactical position ready, but i will be glad if you can fix it.

Maybe adding this somewhere in your code if (getText (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState player >> "actions") in ["LadderCivilActions","LadderRifleActions"]) exitWith {} ;

Arma3_x64 2024-04-05 15-22-21-00

Tirpitz93 commented 7 months ago

Ill add it to the list of animations to ignore, no promises on ETA though

AirShark07 commented 7 months ago

That code is a little funky though, when i added it in the beginning of wall avoidance function. it worked most of the time, but if the Ready animations are already playing because of some obstacle next to the ladder. Then it will not work, this however can be fixed by finding a way to force holstering the player's weapon before he starts climbing.

I will try and look for a solution if i find anything.

Apart from that you may also add something like this to make it compatible with ladder tweak remastered mod, for its ladder slide down function.

if !((getpos player) select 2 < 1) exitWith {};