Update EPOCH_worldObjectType.sqf

Added private Variables, so external scripts calling this script can use "_return" as variable without problems

example EPOCH_lootTrash.sqf:
_return = false;
_getWorldTypes = [str(_x), _inputWorldTypes] call EPOCH_worldObjectType;
_return  <--- Is an array!!!
This commit is contained in:
He-Man 2016-08-24 21:20:38 +02:00 committed by GitHub
parent 3cdd1049b3
commit b791137b42

View File

@ -22,6 +22,7 @@
Returns: Returns:
BOOL or ARRAY of BOOLs BOOL or ARRAY of BOOLs
*/ */
private ["_str","_return","_config","_findStart","_start","_end","_p3dName","_finalConfig","_checkType"];
params ["_str","_checkType"]; params ["_str","_checkType"];
_return = false; _return = false;
_config = 'CfgEpochClient' call EPOCH_returnConfig; _config = 'CfgEpochClient' call EPOCH_returnConfig;