Page MenuHomeFeedback Tracker

BIS_fnc_ambientAnim - specifically Lean_on_Table - not configured properly
Assigned, WishlistPublic

Description

Basic issue is that LEAN_ON_TABLE animation is improperly defined. It does not recognize snap points and it also does not snap properly by itself.

The issue has been persistent since prior to 1.08 and carried over to 1.10. I've attached two screenshots below that show the current BIS_fnc_ambientAnim script and my locally fixed version. {F23105} {F23106}

Details

Legacy ID
3311376506
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Call BIS_fnc_ambientAnim with [this,"LEAN_ON_TABLE"].

Additional Information

I fixed this locally by adding recognized types in the _animset switch. I've added all possible tables (Camping Tables, Desks, aswell as wooden ones), the only one I didn't get to work is the Cashdesk because the animation doesn't fit there.

This issue was submitted previously by me, however the previous report isn't up-to-date anymore and also reports broader issues which I did not really encounter anymore when working on this.

Event Timeline

tryteyker edited Additional Information. (Show Details)
tryteyker set Category to Scripting.
tryteyker set Reproducibility to Always.
tryteyker set Severity to None.
tryteyker set Resolution to Open.
tryteyker set Legacy ID to 3311376506.May 7 2016, 5:49 PM
Bohemia added a subscriber: AD2001.Jan 23 2014, 7:10 PM

case "LEAN_ON_TABLE":
{
[

		["Land_CampingTable_F",[0,-0.6,0],0],
		["Land_TableDesk_F",[0,-0.7,0],180],
		["Land_WoodenTable_large_F",[0,-0.8,0],90],
		["Land_WoodenTable_small_F",[0,-0.8,0],-90]

];
};

The above code is what I've used to fix it as seen in the second screenshot. Thought I'd post the code for reference.
(Added this to _animset switch in the main sqf file)