|Description:||This function controls the status of the gun barrel for a turret vehicle. It can stow, unstow, and stow instantly. It can also check the current stow status. When it is stowed, the barrel is placed in the barrel-holding crutch and is locked in place. It is not able to move until it is unstowed again. Vehicle classes can provide a path to their own stowing scripts using the |
|Syntax:||[flag, tank] call fn_vbs_initStowBarrel|
|Return Value:||Boolean - Indicates if the tank is able to / is already to perform the requested action (stow / unstow).|
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.
_ret = [1, tank1] call fn_vbs_initStowBarrel