BIS fnc diagAnim: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Diagnostic | |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). | *'''animStateChanged''' - Each animation state changes(debug.log + globalchat). | ||
| [target] call [[BIS_fnc_diagAnim]] | | [target] call [[BIS_fnc_diagAnim]] | ||
|p1= target: [[Object]] - (Optional, default [[player]]) - The unit whose animation should be logged " | |p1= target: [[Object]] - (Optional, default [[player]]) - The unit whose animation should be logged " | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[call]] [[BIS_fnc_diagAnim]];</code> | |x1= <code>[[call]] [[BIS_fnc_diagAnim]];</code> | ||
|[[:Category:Function Group: Diagnostic|Diag functions]] | |[[:Category:Function Group: Diagnostic|Diag functions]] | ||
}} | }} | ||
Revision as of 23:02, 17 January 2021
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