Advertisement
HydroBull3T

fn_processParamsArray

Dec 12th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.53 KB | None | 0 0
  1. // F3 - Process ParamsArray
  2. // Credits: Please see the F3 online manual (http://www.ferstaberinde.com/f3/en/)
  3. // ====================================================================================
  4.  
  5. _paramArray = paramsArray;
  6. {
  7.     _paramName =(configName ((missionConfigFile >> "Params") select _forEachIndex));
  8.     _paramValue = (_paramArray select _forEachIndex);
  9.     _paramCode = ( getText (missionConfigFile >> "Params" >> _paramName >> "code"));
  10.     _code = format[_paramCode, _paramValue];
  11.     call compile _code;
  12. } foreach _paramArray;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement