/* File: fn_terrainSort.sqf (TO BE CHANGED) Author: BoGuu Description: Gah. */ if !(params[["_dictionary",[],[[],0,""]]]) exitWith {}; scopeName "main"; { if (worldName == _x select 0) then { (_x select 1) breakOut "main"; }; } count _dictionary; switch (typeOf (_dictionary select 0 select 1)) do { case "ARRAY": {[]}; case "STRING": {""}; case "SCALAR": {-1}; };