#include "script_component.hpp" /* * Author: Glowbal * Get the variable default value * * Arguments: * 0: Variable Name * * Return Value: * Default value of variable * * Example: * ["name"] call ace_common_fnc_getDefinedVariableDefault * * Public: Yes */ params ["_varName"]; private _variableDefinition = _varName call FUNC(getDefinedVariableInfo); if (_variableDefinition isNotEqualTo []) exitWith { _variableDefinition select 1; }; nil