Adds an action to an actionHandler, read from config
Registers an event handler for a specific CBA event.
Adds an action to a keyhandler
Adds an action to a keyhandler, read from config
Add magazine to a vehicle/unit.
Add magazine to a vehicle cargo.
Add a magazine, but verify that it was successful without over-burdening the recipient.
Adds persistent action to player (which will also be available in vehicles and after respawn or teamswitch).
Add a weapon to a unit.
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.
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.
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.
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).
Used to determine which weapon unit is currently holding and return proper animation type.
Get default named argument from list.
Gets a configuration entry.
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, not just the order within the units of his group (this order can change due to players joining and leaving the game, deaths or promotions).
Checks if a global marker is persistent for JIP players.
Returns name of pistol in unit’s inventory, if any.
Returns existing group on side, or newly created group when not existent.
Get information about a unit’s stance and speed.
Get death animation for a unit.
Raises a CBA event on all machines, including the local one.
Executes code on given destinations
Says sound on all client computer
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.
Sets a value for a given key in a Hash.
Get the direction of a unit’s head.
Checks whether a config entry inherits, directly or indirectly, from another one.
Accumulates a value by passing elements of an array “through” a function.
Check if a value is a Hash data structure.
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.
Logs a message to the RPT log.
Check whether these are any players within a certain distance of a unit.
Creates a “random” number 0-9 based on an object’s velocity
Parses a YAML file into a nested array/Hash structure.
Get a list of current player objects.
Reads action setting from config
Reads key setting from config
Real z coordinate of an object, for placing stuff on roofs, etc.
Raises a CBA event on all machines EXCEPT the local one.
Removes an event handler previously registered with CBA_fnc_addEventHandler.
Remove a magazine.
Removes player action previously added with CBA_fnc_addPlayerAction.
Remove a weapon.
Replaces substrings within a string.
Trims white-space (space, tab, newline) from the right end of a string.
Selects weapon, if the player has the weapon, including correctly selecting a muzzle, if any.
Sets or unsets JIP persistency on a global marker.
Shuffles an array’s contents into random order, returning a new array.
Splits a string into substrings using a separator.
Counts the number of characters in a string.
Switch player to another unit.
Runs unit tests for an addon or component.
Trims white-space (space, tab, newline) from the both ends of a string.