BIS fnc diagAnim: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Some wiki formatting)
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2
____________________________________________________________________________________________
|version1= 1.00


| arma2 |= Game name
|game2= arma2oa
|version2= 1.50


|1.00|= Game version
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| <pre>
|game4= arma3
/*
|version4= 0.50
File: fn_diagAnim.sqf


Description:
|gr1= Diagnostic
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
|descr= 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).


| <!-- [] call [[BIS_fnc_diagAnim]]; --> |= Syntax
|s1= [target] call [[BIS_fnc_diagAnim]]


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


| |= Return value
|r1= [[Nothing]]
____________________________________________________________________________________________


|x1= <code></code> |=
|x1= <sqf>call BIS_fnc_diagAnim;</sqf>
____________________________________________________________________________________________
 
| |= See also


|seealso= [[:Category:Function Group: Diagnostic|Diag functions]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Diagnostic|{{uc:diagAnim}}]]
[[Category:Functions|{{uc:diagAnim}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:diagAnim}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:diagAnim}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:diagAnim}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagAnim}}]]

Latest revision as of 11:52, 8 November 2023

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