12345678910111213141516171819202122232425262728293031 |
- /*
- Name: cTab_fnc_updateUserMarkerList
-
- Author(s):
- Gundy
- Description:
- Update lists of user markers by finding extracting all the user markers with the right encryption key and then translate the marker data in to a format so that it can be drawn quicker.
-
- Parameters:
- NONE
-
- Returns:
- BOOLEAN - Always TRUE
-
- Example:
- call cTab_fnc_updateUserMarkerList;
- */
- private ["_playerEncryptionKey","_tempList"];
- _playerEncryptionKey = call cTab_fnc_getPlayerEncryptionKey;
- _tempList = [];
- {
- 0 = _tempList pushBack [_x select 0,_x select 1 call cTab_fnc_translateUserMarker];
- } count ([cTab_userMarkerLists,_playerEncryptionKey,[]] call cTab_fnc_getFromPairs);
- cTabUserMarkerList = _tempList;
- true
|