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
S
CBA_fnc_sanitizeHTML
CBA_fnc_scaleVect
CBA_fnc_scaleVectTo
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
CBA_fnc_strLen
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
CBA_fnc_trim
CBA_fnc_turretDir
CBA_fnc_turretEvent
CBA_fnc_turretPath
CBA_fnc_turretPathWeapon
U
CBA_fnc_uniqueUnitItems
V
CBA_fnc_vect2Polar
CBA_fnc_vectAdd
CBA_fnc_vectCross
CBA_fnc_vectCross2D
CBA_fnc_vectDir
CBA_fnc_vectDot
CBA_fnc_vectElev
CBA_fnc_vectMagn
CBA_fnc_vectMagn2D
CBA_fnc_vectMap3D
CBA_fnc_vectRotate2D
CBA_fnc_vectRotate3D
CBA_fnc_vectSubtract
CBA_fnc_vehicleRole
CBA_fnc_viewDir
W
CBA_fnc_waitAndExecute
CBA_fnc_waitUntilAndExecute
CBA_fnc_weaponComponents
CBA_fnc_weaponEvents
CBA_fnc_weekDay
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.
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.
Counts the number of characters in a string.
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.
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.
Retrieves a unique list of items in the units inventory.
Converts a 3d vector to polar Parameters: _vx - vector direction in x _vy - vector direction in y _vz - vector direction in z
Returns the sum of two vectors.
Returns the cross product vector of two vectors.
Returns the cross product vector of two 2D vectors.
Returns the angle of a vector with the given i and k coordinates in the range 0 to 360.
Returns the dot product of two vectors.
Returns the angle of elevation of a 3D vector with the given i, j and k coordinates in the range -90 to 90.
Returns the magnitude of a 3D vector with the given i, j and k coordinates.
Returns the magnitude of a vector with the given i and k coordinates or the magnitude of the i and k components of a 3D vector.
Returns the resulting vector of the matrix-vector product.
Rotates a 2D vector around a given center.
Rotates the first vector around the second, clockwise by theta degrees.
Returns the difference of two vectors.
Get a unit’s role in its current vehicle.
Reports azimuth and inclination of a units head or weapon direction.
Executes a code once in unscheduled environment with a given game time delay.
Executes a code once in unscheduled environment after a condition is true.
Reports class name of base weapon without attachments and all attachments belonging to a pre equipped weapon.
Execute weapon events framework.
Calculates date’s day of the week using a modified Rata Die method with fractional years.
Close