ACE3/addons/common/functions/fnc_getDefinedVariableInfo.sqf

21 lines
388 B
Plaintext
Raw Normal View History

2015-09-20 22:28:25 +00:00
/*
* Author: Glowbal
* Get the variable Informations
2015-01-16 23:21:47 +00:00
*
2015-09-20 22:28:25 +00:00
* Arguments:
* 0: Variable Name <STRING>
*
* Return Value:
* Variable Metadata <ARRAY>
*
* Example:
* ["var"] call ace_common_fnc_getDefinedVariableInfo
*
2015-09-20 22:28:25 +00:00
* Public: No
2015-01-16 23:21:47 +00:00
*/
#include "script_component.hpp"
2015-09-20 22:28:25 +00:00
params ["_varName"];
+ (missionNamespace getVariable [format [QGVAR(OBJECT_VARIABLES_STORAGE_%1), _varName], []])