BIS fnc diagAnim: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>
| Displays or logs animation states:
/*
*'''animChanged''' - When action is performed (only to debug.log)
File: fn_diagAnim.sqf
*'''animDone''' - When animation chain that was started by action is finished (only to debug.log)
*'''animStateChanged''' - Each animation state changes(debug.log + globalchat).|= Description


Description:
____________________________________________________________________________________________
Displays or logs animation states:
* animChanged - when action is performed (only to debug.log);
* animDone - when animation chain that was sterted by action is finished (only to debug.log);
* animStateChanged - each animation state changes (ie.  animationState _who != _former_animationState_of_who) (debug.log + globalchat).
Parameter(s):
1: (optional) <object> subject
Returns:
<> nothing
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|  [target] call [[BIS_fnc_diagAnim]] |= Syntax
____________________________________________________________________________________________
____________________________________________________________________________________________
|p1= target: [[Object]] - (Optional, default [[player]]) - The unit whose animation should be logged "|= Parameter 1


| <!-- [] call [[BIS_fnc_diagAnim]]; --> |= Syntax
| [[Nothing]]|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |= See also
|[[:Category:Function Group: Diagnostic|Diag functions]]|= See also
 
}}
}}
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">

Revision as of 14:24, 4 June 2018

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:
Uncategorised

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