title: ArmaRAMDb - List Load icon: mdi:file-text-outline
Retrieves all elements of a list stored at a specified key from the RAMDb database. This function is useful when you need to access the complete list data rather than individual elements, allowing operations on the entire dataset. The retrieved data is passed to a callback function for processing.
Parameter | Type | Description | Default |
---|---|---|---|
_key | String | The key identifying the list to be retrieved | "" |
_function | String | The name of the function that will receive the retrieved data | "" |
_call | Boolean | Whether to call the function in an unscheduled environment | false |
_netId | String | The NetID of the target to return data from the function (multiplayer only) | "" |
No value is returned directly. The retrieved list data is passed to the specified callback function asynchronously.
Retrieve all event logs:
Retrieve a player list with synchronous callback:
Send mission data to a specific client:
_key
and _function
parameters are required. The function will exit without action if either is empty._netId
parameter to send the retrieved data to that specific client._call
parameter determines whether the callback function is executed in an unscheduled environment (true) or scheduled environment (false).ramdb_db_fnc_listAdd
: Adds an element to a listramdb_db_fnc_listGet
: Retrieves a specific element from a listramdb_db_fnc_listSet
: Replaces a specific element in a listramdb_db_fnc_listRemove
: Removes a specific element from a listramdb_db_fnc_listDelete
: Deletes an entire listramdb_db_fnc_scheduler
: Processes the callback from the database extensionList Add | List Delete | List Get | List Load | List Remove | List Set