Used to call the code parsed in the addaction argument.
Registers an event handler for a client to server event which only runs on the server (thus is only needed on the server)
Adds an action to a displayHandler
Registers an event handler for a specific CBA event.
Adds an action to a keyhandler
Adds an action to a keyhandler, read from config
Registers an event handler for a specific CBA event which only runs where the first parameter (object) is local.
Add magazine to a vehicle/unit.
Add magazine(s) to a vehicle’s cargo.
Add magazine(s) to a vehicle’s cargo.
Add magazines to the unit, but verify that it was successful and doesn’t over-burden the recipient.
Add a handler that will execute every frame, or every x number of seconds
Adds persistent action to player (which will also be available in vehicles and after respawn or teamswitch).
Registers an event handler for an CBA event which is only broadcasted to the receiver (and no other clients)
A function used to add a waypoint to a group.
Add a weapon to a unit.
Add weapon(s) to vehicle cargo.
Add weapon(s) to vehicle cargo.
Benchmarks a function to see how long it will take to execute.
Upper case the first letter of the string, lower case the rest.
Changes an action to a keyhandler
Raises an CBA event only on the server (only broadcasted to server and not to other clients)
Selects center if it already exists, creates it if it doesn’t yet.
Creates a marker all at once.
Create a trigger all at once.
General Purpose Debug Message Writer
Gets a value from parameters list (usually _this) with a default.
A function used to delete entities
Gets the list of possible muzzles for a weapon.
Drop a magazine.
Drops a weapon.
Logs an error message to the RPT log.
Filter each element of an array via a function.
Finds a string within another string.
A function used to find out the first entity of parsed type in a nearEntitys call
Formats time in seconds according to a format.
Formats a number to a minimum integer width and to a specific number of decimal places (including padding with 0s and correct rounding).
A function used to find out who is alive in an array or a group.
Used to determine which weapon unit is currently holding and return proper animation type.
Get default named argument from list.
A function used to return the differences between two arrays.
A function used to return the element counts in an array.
Used to determine the Aspect ratio of the screen.
Gets a configuration entry.
A function used to find out the distance between two positions.
A function used to find out which unit exactly fired (Replacement for gunner, on multi-turret vehicles).
Get current camera’s field of view in radians and zoom.
A function used to find out the group of an object.
Finds out the actual ID number of a person within his group as assigned by the game and used in the squad leader’s command menu.
Checks if a global marker is persistent for JIP players.
A function used to find out the nearest entity parsed in an array to a position.
A function used to find out the nearest building and appropriate building positions available.
Returns name of pistol in unit’s inventory, if any.
A function used to get the position of an entity.
Returns existing group on side, or newly created group when not existent.
A function used to find the terrain profile between two positions
A function used to find out which config turret is turretpath.
Used to determine the UI size of the screen.
Get information about a unit’s stance and speed.
Get death animation for a unit.
Return the volume of an object based on the object’s model’s bounding box.
Raises a CBA event on all machines, including the local one.
Executes code on given destinations
Says sound on all client computer
Says sound on all client computer in 3d
Check if a Hash has a value defined for a key.
Iterate through all keys and values in a Hash.
Gets a value for a given key from a Hash.
Check if a Hash has a value defined for a key.
Removes given key from given Hash.
Sets a value for a given key in a Hash.
Get the direction of a unit’s head.
A function used to determine if a position is within a zone.
Checks whether a config entry inherits, directly or indirectly, from another one.
Accumulates a value by passing elements of an array “through” a function.
Faster int to string, uses an integer lookup table if possible
A function used to find out if the group or object is alive.
Check if a value is a Hash data structure.
Checks whether a unit is turned out in a vehicle or not.
Checks whether a unit is turned out in a vehicle or not.
Joins an array of values into a single string, joining each fragment around a separator string.
Trims white-space (space, tab, newline) from the left end of a string.
Raises a CBA event only on the local machine.
A2/OA/TOH compatible locked function.
Logs a message to the RPT log.
Gets the direction between two map grid references.
Converts a 2, 4, 6, 8, or 10 digit grid reference into a Position.
Find a position relative to a known position on the map.
Get the direction of any unit’s head.
Check whether these are any players within a certain distance of a unit.
Checks if the maps northing is reversed (like Chernarus & Utes, or any map pre-OA)
Creates a “random” number 0-9 based on an object’s velocity
Parses a YAML file into a nested array/Hash structure.
Peek at variable on the server To receive the variable content back, you will have to [“cba_diagnostics_receive_peak”, {_this call myFunction}] call CBA_fnc_addEventHandler;
Get a list of current player objects.
Creates a vector based on a inputted magnitude, direction and elevation
CBA_fnc_publicVariable does only broadcast the new value if it doesn’t exist in missionNamespace or the new value is different to the one in missionNamespace.
A function used to randomize a position around a given center
Reads key setting from config
Real z coordinate of an object, for placing stuff on roofs, etc.
Raises an CBA event only on the receiver and is only broadcasted there Can be called on any client or on the server.
Reject array elements for which the block returns true
Raises a CBA event on all machines EXCEPT the local one.
Removes an event handler previously registered with CBA_fnc_addClientToServerEventhandler.
Removes an action to a displayHandler
Removes an event handler previously registered with CBA_fnc_addEventHandler.
Removes an action to a keyhandler
Removes an event handler previously registered with CBA_fnc_addLocalEventHandler.
Remove a magazine.
Function to remove specific items from local cargo space.
Function to remove specific items from global cargo space.
Remove a handler that you have added using CBA_fnc_addPerFrameHandler
Removes player action previously added with CBA_fnc_addPlayerAction.
Removes an event handler previously registered with CBA_fnc_addReceiverOnlyEventhandler.
Remove a weapon.
Function to remove specific items from local cargo space.
Function to remove specific items from global cargo space.
Replaces substrings within a string.
Trims white-space (space, tab, newline) from the right end of a string.