ACE3/addons/common/functions/fnc_getNumberFromMissionSQM.sqf
2015-01-13 20:56:02 +01:00

19 lines
458 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 "script_component.hpp"
private "_number";
_number = _this call FUNC(getStringFromMissionSQM);
parseNumber _number;