BIS fnc diagAnim: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Diagnostic(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic |GROUP1=
____________________________________________________________________________________________


| Displays or logs animation states:
| Displays or logs animation states:
Line 14: Line 12:
*'''animStateChanged''' - Each animation state changes(debug.log + globalchat).|DESCRIPTION=
*'''animStateChanged''' - Each animation state changes(debug.log + globalchat).|DESCRIPTION=


____________________________________________________________________________________________


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


| [[Nothing]]|RETURNVALUE=
| [[Nothing]]|RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>[[call]] [[BIS_fnc_diagAnim]];</code> |=
|x1= <code>[[call]] [[BIS_fnc_diagAnim]];</code> |=
____________________________________________________________________________________________


|[[:Category:Function Group: Diagnostic|Diag functions]]|SEEALSO=
|[[:Category:Function Group: Diagnostic|Diag functions]]|SEEALSO=

Revision as of 23:07, 16 January 2021

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

Notes

Bottom Section