ACE3/addons/core/functions/fn_getNumberFromMissionSQM.sqf

18 lines
428 B
Plaintext
Raw Normal View History

/*
* 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)
*/
private "_number";
2015-01-11 18:20:14 +00:00
_number = _this call FUNC(getStringFromMissionSQM);
parseNumber _number;