Guest User

Untitled

a guest
Dec 25th, 2018
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. /*
  2. File: fn_terrainSort.sqf (TO BE CHANGED)
  3. Author: BoGuu
  4.  
  5. Description:
  6. Gah.
  7. */
  8.  
  9.  
  10. if !(params[["_dictionary",[],[[],0,""]]]) exitWith {};
  11.  
  12. scopeName "main";
  13.  
  14. {
  15. if (worldName == _x select 0) then {
  16. (_x select 1) breakOut "main";
  17. };
  18. } count _dictionary;
  19.  
  20. switch (typeName (_dictionary select 0 select 1)) do {
  21. case "ARRAY": {[]};
  22. case "STRING": {""};
  23. case "SCALAR": {-1};
  24. };
Add Comment
Please, Sign In to add comment