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
O
CBA_fnc_objectRandom
 OBSOLETE
 OBSOLETE_SYS
CBA_fnc_openLobbyManager
 Overview
CBA_fnc_ownerEvent
P
 PARAMS_1(A)
 PARAMS_2(A,B)
 PARAMS_3(A,B,C)
 PARAMS_4(A,B,C,D)
 PARAMS_5(A,B,C,D,E)
 PARAMS_6(A,B,C,D,E,F)
 PARAMS_7(A,B,C,D,E,F,G)
 PARAMS_8(A,B,C,D,E,F,G,H)
 PARAMS_n
CBA_fnc_parseJSON
CBA_fnc_parseYAML
 PATHTO_FNC
CBA_fnc_players
CBA_fnc_playMusic
CBA_fnc_polar2vect
 PREP
CBA_fnc_prettyFormat
CBA_fnc_progressBar
CBA_fnc_publicVariable
 PUSH
R
CBA_fnc_randomizeFacewear
CBA_fnc_randomVector3D
CBA_fnc_randPos
CBA_fnc_randPosArea
CBA_fnc_readKeyFromConfig
CBA_fnc_realHeight
CBA_fnc_registerChatCommand
CBA_fnc_registerFeatureCamera
CBA_fnc_registerKeybind
CBA_fnc_registerKeybindModPrettyName
CBA_fnc_registerKeybindToFleximenu
CBA_fnc_reject
 REM
CBA_fnc_remoteEvent
CBA_fnc_removeBackpackCargo
CBA_fnc_removeBinocularMagazine
CBA_fnc_removeBISPlayerEventHandler
CBA_fnc_removeDisplayHandler
CBA_fnc_removeEventHandler
CBA_fnc_removeGlobalEventJIP
CBA_fnc_removeItem
CBA_fnc_removeItemCargo
CBA_fnc_removeKeyHandler
CBA_fnc_removeMagazine
CBA_fnc_removeMagazineCargo
CBA_fnc_removeMarkerEventHandler
CBA_fnc_removePerFrameHandler
CBA_fnc_removePlayerAction
CBA_fnc_removePlayerEventHandler
CBA_fnc_removeUnitTrackProjectiles
CBA_fnc_removeWeapon
CBA_fnc_removeWeaponCargo
CBA_fnc_removeWhitespace
CBA_fnc_renameInventoryItem
CBA_fnc_replace
 RETDEF
 RETNIL
CBA_fnc_rightTrim
S
CBA_fnc_sanitizeHTML
CBA_fnc_scaleVect
CBA_fnc_scaleVectTo
 SCRIPT
 script_macros_common.hpp
 script_macros_mission.hpp
CBA_fnc_searchNearby
CBA_fnc_select
CBA_fnc_selectBest
CBA_fnc_selectRandomArray
CBA_fnc_selectWeapon
CBA_fnc_serializeNamespace
CBA_fnc_serverEvent
CBA_fnc_setCallsign
CBA_fnc_setHeight
CBA_fnc_setLoadout
CBA_fnc_setPos
CBA_fnc_setVarNet
CBA_fnc_shuffle
CBA_fnc_simplifyAngle
CBA_fnc_simplifyAngle180
CBA_fnc_sortNestedArray
CBA_fnc_split
CBA_fnc_standardDeviation
CBA_fnc_stopMusic
 STRING
CBA_fnc_strLen
 SUB
CBA_fnc_substr
CBA_fnc_substring
CBA_fnc_supportMonitor
CBA_fnc_switchableAttachments
CBA_fnc_switchPlayer
T
CBA_fnc_targetEvent
CBA_fnc_taskAttack
CBA_fnc_taskDefend
CBA_fnc_taskPatrol
CBA_fnc_taskSearchArea
CBA_fnc_test
 TEST_DEFINED
 TEST_DEFINED_AND_OP
 TEST_FALSE
 TEST_OP
 TEST_TRUE
 TRACE_1(MESSAGE,A)
 TRACE_2(MESSAGE,A,B)
 TRACE_3(MESSAGE,A,B,C)
 TRACE_4(MESSAGE,A,B,C,D)
 TRACE_5(MESSAGE,A,B,C,D,E)
 TRACE_6(MESSAGE,A,B,C,D,E,F)
 TRACE_7(MESSAGE,A,B,C,D,E,F,G)
 TRACE_8(MESSAGE,A,B,C,D,E,F,G,H)
 TRACE_9(MESSAGE,A,B,C,D,E,F,G,H,I)
 TRACE_n
CBA_fnc_trim
CBA_fnc_turretDir
CBA_fnc_turretEvent
CBA_fnc_turretPath
CBA_fnc_turretPathWeapon
U
 UNIQUE
CBA_fnc_uniqueUnitItems
 Unit tests
Creates a “random” number 0-9 based on an object’s velocity
Replace a function, in the current component, that has become obsolete.
Replace a function that has become obsolete.
Opens the Lobby Manager in 3DEN editor.
Raises a CBA event on the target client ID’s machine.
Get 1 parameter from the _this array (or _this if it’s not an array).
Get 2 parameters from the _this array.
Get 3 parameters from the _this array.
Get 4 parameters from the _this array.
Get 5 parameters from the _this array.
Get 6 parameters from the _this array.
Get 7 parameters from the _this array.
Get 8 parameters from the _this array.
Deserializes a JSON string.
Parses a YAML file into a nested array/Hash structure.
Defines a function inside CfgFunctions.
Reports all (human) player objects.
A function used to play music.
Creates a vector based on a inputted magnitude, direction and elevation
Defines a function.
Makes an array easy to read.
Opens a progress bar.
Broadcast a variables value to all machines.
Appends a single value onto the end of an ARRAY.
Add config defined weighted random facewear to unit.
Returns a 3 dimensional unit vector that is pointing in a random direction.
A function used to randomize a position around a given center
Find a random (uniformly distributed) position within the given area without rejection sampling.
Reads key setting from config.
Real z coordinate of an object, for placing stuff on roofs, etc.
Register a custom chat command on the local machine.
Registers a feature camera for use with CBA_fnc_getActiveFeatureCamera.
This function is deprecated, please use CBA_fnc_addKeybind.
Associates a pretty name to a keybinding mod entry.
This function is deprecated.
Reject array elements for which the block returns true
Remove an element from an array each time it occurs.
Raises a CBA event on all machines, except the local one.
Removes specific backpack(s) from cargo space.
Removes the magazine of the units rangefinder.
Remove event handlers added via CBA_fnc_addBISPlayerEventHandler.
Removes an action from the main display.
Removes an event handler previously registered with CBA_fnc_addEventHandler.
Removes a globalEventJIP ID.
Remove an item.
Removes specific item(s) from cargo space.
Removes an action from a keybind.
Remove a magazine.
Removes specific magazine(s) from cargo space.
Removes an event handler previously registered with ‘CBA_fnc_addMarkerEventHandler’.
Remove a handler that you have added using CBA_fnc_addPerFrameHandler.
Removes player action previously added with CBA_fnc_addPlayerAction.
Removes a player event handler.
Removes projectile tracking from a given unit or vehicle.
Remove a weapon (including binocular).
Removes specific weapon(s) from cargo space.
Removes whitespace (space, tab, newline) from string.
Renames inventory item locally
Replaces substrings within a string.
If a variable is undefined, return the default value.
If a variable is undefined, return the value nil.
Trims specified characters (all whitespace by default) from the right end of a string.
Replaces all < > and & with HTML character codes.
scales a specified vector by a specified factor.
scales a vector so that its new Magnitude is equivalent to a specified value.
Sets name of script (relies on PREFIX and COMPONENT values being #defined).
A general set of useful macro functions for use by CBA itself or by any module that uses CBA.
Modifies script_common_macros.hpp for compatiblity with missions.
A function for a group to search a nearby building.
Select array elements for which the block returns true
Select best element from an array
Select a specified amount of elements from an array without picking the same element multiple times.
Selects a weapon including correctly selecting a weapon mode of specified.
Creates CBA hash containing all variables stored in a namespace.
Raises a CBA event on the server machine.
Set call sign of a group.
A function used to set the height of an object
Set a unit’s extended loadout Parameters: _unit - The unit to set the loadout on.
A function used to set the position of an entity.
Broadcast a object variable value to all machines.
Shuffles an array’s contents into random order.
Returns an equivalent angle to the specified angle in the range 0 to 360.
Returns an equivalent angle to the specified angle in the range -180 to 180.
Sorts the given nested array in either ascending or descending order based on the numerical value at specified index of sub arrays.
Splits a string into substrings using a separator.
Returns the standard deviation, a measure of the spread of a distribution, of the array elements.
A function used to stop any music playing.
string used by format
Counts the number of characters in a string.
Subtract a value from a number variable.
Retrieves a substring of this instance.
Extracts the index-based substring from a string.
Iterate through all vehicle classes and find those who don’t support extended event handlers.
Returns all attachments the item can eventually switch to.
Switch player to another unit.
Raises a CBA event on all machines where this object or at least one of these objects are local.
A function for a group to attack a parsed location.
A function for a group to defend a parsed location.
A function for a group to randomly patrol a parsed radius and location.
Given group will indefinitely randomly search the given marker/trigger area.
Runs unit tests for an addon or component.
Tests that a VARIABLE is defined.
Tests that A and B are defined and (A OPERATOR B) is true.
Tests that a CONDITION is false.
Tests that (A OPERATOR B) is true.
Tests that a CONDITION is true.
Log 1 variable.
Log 2 variables.
Log 3 variables.
Log 4 variables.
Log 5 variables.
Log 6 variables.
Log 7 variables.
Log 8 variables.
Log 9 variables.
Log a message and 1-8 variables to the RPT log.
Trims specified characters (all whitespace by default) from the both ends of a string.
Reports azimuth and inclination of a vehicles turret.
Raises a CBA event on the machine where the vehicle’s turret is local.
Get a unit’s turret path in the current vehicle.
Get the turret path belonging to a weapon of given vehicle.
Removes duplicate values in given array Parameters: ARRAY - The array to be modified Example:
Retrieves a unique list of items in the units inventory.
Close