In tandem with T644: Add required functions for new GUI
Description
Description
Related Objects
Related Objects
- Mentioned Here
- T644: Add required functions for new GUI
Event Timeline
Comment Actions
queryPlayerArsenal
Get a list with ACE Arsenal items allowed by player.
Arguments:
- playerUID
- operationID (optional?)
Result:
["item1", "item2", "item3"]
Comment Actions
queryPlayerData
Get all ORBAT data for specific player.
Arguments:
- playerUID
- operationID
Result:
- player rank (eg. Rec, Pvt, PFC, etc.)
- arma rank (insignia ID)
- group callsign (<any string>)
- role (eg. Squad Medic)
- group leader (eg. FTL, SL, PltL)
- buddy colour (white, red, blue, green, yellow)
- group frequency (float)
- parent group frequency (float)
- medic level (ACE Medic: 0,1,2)
- engineer level (ACE Engineer: 0,1,2)
- EOD level (ACE EOD: 0,1)
- is zeus (0,1)
- is admin (0,1)
- is logistics (0,1)
- is reporter (0,1)
Current SQL:
format["0:FETCHDATA:SELECT playerRank,playerAdmin,playerPos,playerDir,is_medic_level,is_engineer_level,callsign,freq,buddy,lr_freq,armarank FROM operation_players WHERE armauid = '%1' AND operation = '%2' GROUP BY armauid", _playerUID, _operationID]
Comment Actions
queryFullORBAT
Get the full ORBAT information.
Arguments:
- operationID
Result:
list of players with rank, role, callsign, buddy colour and group frequency (as on website)