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 (Some wiki formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 15: | Line 15: | ||
|gr1= Diagnostic | |gr1= Diagnostic | ||
| Displays or logs animation states: | |descr= Displays or logs animation states: | ||
*'''animChanged''' - | * '''animChanged''' - when action is performed (only to debug.log) | ||
*'''animDone''' - | * '''animDone''' - when animation chain that was started by action is finished (only to debug.log) | ||
*'''animStateChanged''' - | * '''animStateChanged''' - each animation state changes(debug.log + globalchat). | ||
| | |s1= [target] call [[BIS_fnc_diagAnim]] | ||
|p1= target: [[Object]] - (Optional, default [[player]]) - | |||
|p1= target: [[Object]] - (Optional, default [[player]]) - the unit whose animation should be logged | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>call BIS_fnc_diagAnim;</sqf> | ||
|seealso= [[:Category:Function Group: Diagnostic|Diag functions]] | |seealso= [[:Category:Function Group: Diagnostic|Diag functions]] | ||
}} | }} | ||
Latest revision as of 10:52, 8 November 2023
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