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_addBackpackCargo
CBA_fnc_addBinocularMagazine
CBA_fnc_addBISEventHandler
CBA_fnc_addClassEventHandler
CBA_fnc_addDisplayHandler
CBA_fnc_addEventHandler
CBA_fnc_addEventHandlerArgs
CBA_fnc_addItem
CBA_fnc_addItemCargo
CBA_fnc_addKeybind
CBA_fnc_addKeybindToFleximenu
CBA_fnc_addKeyHandler
CBA_fnc_addKeyHandlerFromConfig
CBA_fnc_addMagazine
CBA_fnc_addMagazineCargo
CBA_fnc_addMarkerEventHandler
CBA_fnc_addPauseMenuOption
CBA_fnc_addPerFrameHandler
CBA_fnc_addPlayerAction
CBA_fnc_addPlayerEventHandler
CBA_fnc_addUnitTrackProjectiles
CBA_fnc_addWaypoint
CBA_fnc_addWeapon
CBA_fnc_addWeaponCargo
CBA_fnc_allNamespaces
B
CBA_fnc_binocularMagazine
C
CBA_fnc_canUseWeapon
CBA_fnc_capitalize
 CBA_accessory_fnc_switchAttachment
 CBA_diagnostic_fnc_initTargetDebugConsole
 CBA_help_fnc_setCreditsLine
 CBA_help_fnc_setVersionLine
 CBA_removeUnitTrackProjectiles
 CBA_settings_fnc_init
 CBA_statemachine_fnc_addEventTransition
 CBA_statemachine_fnc_addState
 CBA_statemachine_fnc_addTransition
 CBA_statemachine_fnc_clockwork
 CBA_statemachine_fnc_create
 CBA_statemachine_fnc_createFromConfig
 CBA_statemachine_fnc_delete
 CBA_statemachine_fnc_dumpPerformanceCounters
 CBA_statemachine_fnc_getCurrentState
 CBA_statemachine_fnc_manualTransition
 CBA_statemachine_fnc_toString
 CBA_statemachine_fnc_updateList
CBA_fnc_changeKeyHandler
CBA_fnc_clearWaypoints
CBA_fnc_compatibleItems
CBA_fnc_compileEventHandlers
CBA_fnc_compileFinal
CBA_fnc_compileFunction
CBA_fnc_compileMusic
CBA_fnc_createMarker
CBA_fnc_createNamespace
CBA_fnc_createPerFrameHandlerObject
CBA_fnc_createTrigger
CBA_fnc_currentMagazineIndex
CBA_fnc_currentUnit
D
CBA_fnc_debug
CBA_fnc_deleteEntity
CBA_fnc_deleteNamespace
CBA_fnc_deletePerFrameHandlerObject
CBA_fnc_deserializeNamespace
CBA_fnc_directCall
CBA_fnc_dropItem
CBA_fnc_dropMagazine
CBA_fnc_dropWeapon
E
CBA_fnc_execNextFrame
F
CBA_fnc_filter
CBA_fnc_find
CBA_fnc_findEntity
CBA_fnc_findMax
CBA_fnc_findMin
CBA_fnc_findMusic
CBA_fnc_findNil
CBA_fnc_findNull
CBA_fnc_findTypeName
CBA_fnc_findTypeOf
CBA_fnc_floatToString
CBA_fnc_formatElapsedTime
CBA_fnc_formatNumber
G
CBA_fnc_getAlive
CBA_fnc_getAnimType
CBA_fnc_getArea
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_getItemConfig
CBA_fnc_getKeybind
CBA_fnc_getMagazineIndex
CBA_fnc_getMusicData
CBA_fnc_getMusicPath
CBA_fnc_getMusicPlaying
CBA_fnc_getMuzzles
CBA_fnc_getNearest
CBA_fnc_getNearestBuilding
CBA_fnc_getNonPresetClass
CBA_fnc_getObjectConfig
CBA_fnc_getPos
CBA_fnc_getPosFromString
CBA_fnc_getSharedGroup
CBA_fnc_getTerrainProfile
CBA_fnc_getTurret
CBA_fnc_getUISize
CBA_fnc_getUnitAnim
CBA_fnc_getUnitDeathAnim
CBA_fnc_getVolume
CBA_fnc_getWeaponModes
CBA_fnc_globalEvent
CBA_fnc_globalEventJIP
CBA_fnc_globalExecute
CBA_fnc_globalSay
CBA_fnc_globalSay3d
Used to call the code parsed in the addaction argument.
Add backpack(s) to vehicle cargo.
Adds a magazine to the units rangefinder.
Adds an event handler with arguments.
Add an eventhandler to a class and all children.
Adds an action to the main display.
Registers an event handler for a specific CBA event.
Registers an event handler for a specific CBA event with arguments.
Add an item to a unit.
Add item(s) to vehicle cargo.
Adds or updates the keybind handler for a specified mod action, and associates a function with that keybind being pressed.
Adds or updates the keybind handler for a defined Fleximenu and creates that Fleximenu.
Adds an action to a keybind.
Adds an action to a keybind from config.
Add magazine to a vehicle/unit.
Add magazine(s) to a vehicle’s cargo.
Adds an event handler that executes code when a marker is created or deleted.
Adds a menu option to the ESC menu “Options” tab.
Add a handler that will execute every frame, or every x number of seconds.
Adds persistent action to the player.
Adds a player event handler.
Adds projectile tracking to a given unit or vehicle.
A function used to add a waypoint to a group.
Add a weapon to a unit.
Add weapon(s) to vehicle cargo.
Reports namespaces created with CBA_fnc_createNamespace.
Returns the magazine of the units rangefinder.
Checks if the unit can currently use a weapon.
Upper case the first letter of the string, lower case the rest.
Switches weapon accessories for the player.
Adds addition watch statements that are run on a remote target and have their values returned to the client.
Picks a random CfgPatches entry with an “author” entry and displays author, version and URL in the main menu and ingame in the pause menu.
Displays all CfgPatches with a “versionDesc” entry in the main menu.
Removes projectile tracking from a given unit or vehicle.
Creates a new setting for that session.
Creates a transition between two states.
Adds a state to a state machine.
Creates a transition between two states.
Clockwork which runs all state machines.
Creates a state machine.
Creates a state machine from a config class.
Deletes a state machine.
Dumps the performance counters for each statemachine Requires `STATEMACHINE_PERFORMANCE_COUNTERS` in script_component.hpp Note that diag_tickTime has very limited precision; results may become more accurate with longer test runtime.
Manually triggers a transition.
Manually triggers a transition.
Creates a readable string representation of a state machine.
Manually updates the list of a state machine.
Changes the key of a key handler.
A function used to correctly clear all waypoints from a group.
Return all compatible weapon attachments.
Compiles all Extended EventHandlers in given config.
Defines a function in mission namespace and prevents it from being overwritten.
Compiles a function into mission namespace and into ui namespace for caching purposes.
A function used to gather a list of all music classes
Creates a marker all at once.
Creates a namespace.
Creates a PFH object, that will execute code every frame, or every x number of seconds.
Create a trigger all at once.
Finds out the magazine ID of the currently loaded magazine of given unit.
Returns the controlled unit.
General Purpose Debug Message Writer
A function used to delete entities
Deletes a namespace created with CBA_fnc_createNamespace.
Deletes a PFH object that was previously created via CBA_fnc_createPerFrameHandlerObject
Creates namespace containing all variables stored in a CBA hash.
Executes a piece of code in unscheduled environment.
Drops an item.
Drops a magazine.
Drops a weapon.
Executes a code once in non sched environment on the next frame.
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
Find largest numeric value with index in an array.
Find smallest numeric value with index in an array.
A function used to return songs with given type and tags
A function that returns the index of the first empty (nil) entry in an array.
A function that returns the index of the first null entry in an array.
Returns the index of the first entry of the given type in an array.
Returns the index of the first entry of a given type in an array.
Returns a higher precision string representation of a IEEE 754 floating point number than the str function.
Formats time in seconds according to a format.
Formats a number to a minimum integer width and to a specific number of decimal places.
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.
Get current camera’s vertical 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.
A function used to return the config of an item.
Checks if a particular mod has already registered a keybind handler for the specified action.
Finds out the magazine ID of all magazines of given type in the inventory of given unit.
A function used to return data from the given music class
A function used to return the config path of a music file
A function used to return the current time on playing music.
Gets the list of possible muzzles for a weapon.
Find out the nearest entity parsed in an array to a position.
Find the nearest building and number of building positions available.
Get ancestor class of a weapon or container which has no preset attachments/contents.
A function used to return the config of an object or class name.
A function used to get the position of an entity.
A function used to get the position of an item when passed as a string.
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.
Gets the list of possible modes for a weapon.
Raises a CBA event on all machines, including the local one.
Raises a CBA event on all machines.
Executes code on given destinations.
Says sound on all clients.
Says sound on all clients in 3D.
Close