Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
CBA_fnc_actionArgument
CBA_fnc_addClientToServerEventhandler
CBA_fnc_addDisplayHandler
CBA_fnc_addEventHandler
CBA_fnc_addKeyHandler
CBA_fnc_addKeyHandlerFromConfig
CBA_fnc_addLocalEventHandler
CBA_fnc_addMagazine
CBA_fnc_addMagazineCargo
CBA_fnc_addMagazineCargoGlobal
CBA_fnc_addMagazineVerified
CBA_fnc_addPerFrameHandler
CBA_fnc_addPlayerAction
CBA_fnc_addReceiverOnlyEventhandler
CBA_fnc_addWaypoint
CBA_fnc_addWeapon
CBA_fnc_addWeaponCargo
CBA_fnc_addWeaponCargoGlobal
B
CBA_fnc_benchmarkFunction
C
CBA_fnc_capitalize
CBA_fnc_changeKeyHandler
CBA_fnc_clientToServerEvent
CBA_fnc_createCenter
CBA_fnc_createMarker
CBA_fnc_createTrigger
D
CBA_fnc_debug
CBA_fnc_defaultParam
CBA_fnc_deleteEntity
CBA_fnc_determineMuzzles
CBA_fnc_dropMagazine
CBA_fnc_dropWeapon
E
CBA_fnc_error
F
CBA_fnc_filter
CBA_fnc_find
CBA_fnc_findEntity
CBA_fnc_formatElapsedTime
CBA_fnc_formatNumber
G
CBA_fnc_getAlive
CBA_fnc_getAnimType
CBA_fnc_getArg
CBA_fnc_getArrayDiff
CBA_fnc_getArrayElements
CBA_fnc_getAspectRatio
CBA_fnc_getConfigEntry
CBA_fnc_getDistance
CBA_fnc_getFirer
CBA_fnc_getFov
CBA_fnc_getGroup
CBA_fnc_getGroupIndex
CBA_fnc_getMarkerPersistent
CBA_fnc_getNearest
CBA_fnc_getNearestBuilding
CBA_fnc_getPistol
CBA_fnc_getPos
CBA_fnc_getSharedGroup
CBA_fnc_getTerrainProfile
CBA_fnc_getTurret
CBA_fnc_getUISize
CBA_fnc_getUnitAnim
CBA_fnc_getUnitDeathAnim
CBA_fnc_getVolume
CBA_fnc_globalEvent
CBA_fnc_globalExecute
CBA_fnc_globalSay
CBA_fnc_globalSay3d
H
CBA_fnc_hashCreate
CBA_fnc_hashEachPair
CBA_fnc_hashGet
CBA_fnc_hashHasKey
CBA_fnc_hashRem
CBA_fnc_hashSet
CBA_fnc_headDir
I
CBA_fnc_inArea
CBA_fnc_inheritsFrom
CBA_fnc_inject
CBA_fnc_intToString
CBA_fnc_isAlive
CBA_fnc_isHash
CBA_fnc_isTurnedOut
CBA_fnc_isUnitGetOutAnim
J
CBA_fnc_join
L
CBA_fnc_leftTrim
CBA_fnc_localEvent
CBA_fnc_locked
CBA_fnc_log
M
CBA_fnc_mapDirTo
CBA_fnc_mapGridToPos
CBA_fnc_mapRelPos
CBA_fnc_modelHeadDir
N
CBA_fnc_nearPlayer
CBA_fnc_northingReversed
O
CBA_fnc_objectRandom
P
CBA_fnc_parseYAML
CBA_fnc_peek
CBA_fnc_players
CBA_fnc_polar2vect
CBA_fnc_publicVariable
R
CBA_fnc_randPos
CBA_fnc_readKeyFromConfig
CBA_fnc_realHeight
CBA_fnc_receiverOnlyEvent
CBA_fnc_reject
CBA_fnc_remoteEvent
CBA_fnc_removeClientToServerEvent
CBA_fnc_removeDisplayHandler
CBA_fnc_removeEventHandler
CBA_fnc_removeKeyHandler
CBA_fnc_removeLocalEventHandler
CBA_fnc_removeMagazine
CBA_fnc_removeMagazineCargo
CBA_fnc_removeMagazineCargoGlobal
CBA_fnc_removePerFrameHandler
CBA_fnc_removePlayerAction
CBA_fnc_removeReceiverOnlyEvent
CBA_fnc_removeWeapon
CBA_fnc_removeWeaponCargo
CBA_fnc_removeWeaponCargoGlobal
CBA_fnc_replace
CBA_fnc_rightTrim
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.
Close