BIS fnc diagAnim: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic


| Displays or logs animation states:
| Displays or logs animation states:
*'''animChanged''' - When action is performed (only to debug.log)
*'''animChanged''' - When action is performed (only to debug.log)
*'''animDone''' - When animation chain that was started by action is finished (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).|DESCRIPTION=
*'''animStateChanged''' - Each animation state changes(debug.log + globalchat).




|  [target] call [[BIS_fnc_diagAnim]] |SYNTAX=
|  [target] call [[BIS_fnc_diagAnim]]
|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 "


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


|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]]
}}
}}



Revision as of 23:02, 17 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

Bottom Section