Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »




Introduced in

Version:1.50

Description

Description: Returns the status of a unit that may currently be involved in a fn vbs complex animation

Syntax

Syntax: [unit] call fn_vbs_animation_status
Parameters:
  • unit: Object - Unit to be checked.
Return Value: String - Can be either:
  • "INACTIVE" - not involved in a complex animation
  • "MOVETO" - while moving towards a specified animation destination
  • "TURNTO" - while turning towards the other actor
  • "ANIMATE" - during the animation phase

Warning

When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.

Examples

Examples:
if ([soldierOne] call fn_vbs_animation_status=="MOVETO") then {
  hint "I'm on the way";
}

Additional Information

See also: fn vbs complex animation, fn vbs animation active
Multiplayer: 
Problems: 

Notes





  • No labels