BIS fnc diagAnim: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
m (Text replacement - " |s1=[" to " |s1= [")
Line 20: Line 20:
*'''animStateChanged''' - Each animation state changes(debug.log + globalchat).
*'''animStateChanged''' - Each animation state changes(debug.log + globalchat).


|s1=[target] call [[BIS_fnc_diagAnim]]
|s1= [target] call [[BIS_fnc_diagAnim]]


|p1= target: [[Object]] - (Optional, default [[player]]) - The unit whose animation should be logged "
|p1= target: [[Object]] - (Optional, default [[player]]) - The unit whose animation should be logged "

Revision as of 23:11, 12 July 2022

Hover & click on the images for description

Description

Description:
Displays or logs animation states:
  • animChanged - When action is performed (only to debug.log)
  • animDone - When animation chain that was started by action is finished (only to debug.log)
  • animStateChanged - Each animation state changes(debug.log + globalchat).
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[target] call BIS_fnc_diagAnim
Parameters:
target: Object - (Optional, default player) - The unit whose animation should be logged "
Return Value:
Nothing

Examples

Example 1:
call BIS_fnc_diagAnim;

Additional Information

See also:
Diag functions

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note