2015-01-11 16:42:31 +00:00
|
|
|
/*
|
|
|
|
* Author: commy2
|
|
|
|
*
|
|
|
|
* Get a number from the mission.sqm file. Mission has to be saved in the Editor.
|
2015-01-12 04:02:33 +00:00
|
|
|
*
|
2015-01-11 16:42:31 +00:00
|
|
|
* Argument:
|
|
|
|
* 0: Path of the entry in the mission.sqm (Array)
|
2015-01-12 04:02:33 +00:00
|
|
|
*
|
2015-01-11 16:42:31 +00:00
|
|
|
* 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)
|
|
|
|
*/
|
2015-01-13 19:56:02 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
|
|
|
|
private "_number";
|
|
|
|
|
2015-01-11 18:20:14 +00:00
|
|
|
_number = _this call FUNC(getStringFromMissionSQM);
|
2015-01-11 16:42:31 +00:00
|
|
|
|
|
|
|
parseNumber _number;
|