ACE3/addons/common/functions/fnc_getNumberFromMissionSQM.sqf
2015-01-12 19:22:58 +01:00

19 lines
479 B
Plaintext

/*
* Author: commy2
*
* Get a number from the mission.sqm file. Mission has to be saved in the Editor.
*
* Argument:
* 0: Path of the entry in the mission.sqm (Array)
*
* Return value:
* Value of the entry. Note: If the entry does not exist, it might return 0 or an entry with the same name of another class! (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
private "_number";
_number = _this call FUNC(getStringFromMissionSQM);
parseNumber _number;