BIS fnc diagAnim: Difference between revisions

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


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|= Game version
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Displays or logs animation states:
|game3= tkoh
*'''animChanged''' - When action is performed (only to debug.log)
|version3= 1.00
*'''animDone''' - When animation chain that was started by action is finished (only to debug.log)
*'''animStateChanged''' - Each animation state changes(debug.log + globalchat).|= Description


____________________________________________________________________________________________
|game4= arma3
|version4= 0.50


| [target] call [[BIS_fnc_diagAnim]] |= Syntax
|gr1= Diagnostic
____________________________________________________________________________________________
|p1= target: [[Object]] - (Optional, default [[player]]) - The unit whose animation should be logged "|= Parameter 1


| [[Nothing]]|= Return value
|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).


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


|[[:Category:Function Group: Diagnostic|Diag functions]]|= See also
|p1= target: [[Object]] - (Optional, default [[player]]) - the unit whose animation should be logged
}}
 
<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>call BIS_fnc_diagAnim;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[:Category:Function Group: Diagnostic|Diag functions]]
[[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 10: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