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
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_parseYAML
CBA_fnc_players
CBA_fnc_polar2vect
 PUSH
R
CBA_fnc_readKeyFromConfig
CBA_fnc_realHeight
 REM
CBA_fnc_remoteEvent
CBA_fnc_removeDisplayHandler
CBA_fnc_removeEventHandler
CBA_fnc_removeMagazine
CBA_fnc_removePlayerAction
CBA_fnc_removeWeapon
CBA_fnc_replace
 RETNIL
CBA_fnc_rightTrim
S
CBA_fnc_scaleVect
CBA_fnc_scaleVectTo
 SCRIPT
 script_macros_common.hpp
CBA_fnc_searchNearby
CBA_fnc_selectWeapon
CBA_fnc_setHeight
CBA_fnc_setMarkerPersistent
CBA_fnc_setPos
CBA_fnc_shuffle
CBA_fnc_simplifyAngle
CBA_fnc_simplifyAngle180
CBA_fnc_sortNestedArray
CBA_fnc_split
CBA_fnc_strLen
 SUB
CBA_fnc_switchPlayer
T
CBA_fnc_taskAttack
CBA_fnc_taskDefend
CBA_fnc_taskPatrol
CBA_fnc_test
 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_n
CBA_fnc_trim
V
 VARIABLE
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_vectRotate2D
CBA_fnc_vectSubtract
W
 WARNING
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.
Setting variables based on parameters passed to a function.
Parses a YAML file into a nested array/Hash structure.
Get a list of current player objects.
Creates a vector based on a inputted magnitude, direction and elevation
Appends a single value onto the end of an ARRAY.
Reads key setting from config
Real z coordinate of an object, for placing stuff on roofs, etc.
Remove an element from an array each time it occurs.
Raises a CBA event on all machines EXCEPT the local one.
Removes an action to a displayHandler
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.
If a variable is undefined, return the value nil.
Trims white-space (space, tab, newline) from the right end of a string.
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.
A function for a group to search a nearby building.
Selects weapon, if the player has the weapon, including correctly selecting a muzzle, if any.
A function used to set the height of an object Parameters: _object - Object or Location _height - Height in metres _type - Optional parameter, 0 is getpos, 1 is getpos ASL, 2 is getposATL (Default: 1) Example: [this, 10] call CBA_fnc_setHeight Returns: Nothing Author: Rommel
Sets or unsets JIP persistency on a global marker.
A function used to set the position of an entity.
Shuffles an array’s contents into random order, returning a new array.
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.
Used to sort a nested array from lowest to highest using quick sort based on the specified column, which must have numerical data.
Splits a string into substrings using a separator.
Counts the number of characters in a string.
Subtract a value from a number variable.
Switch player to another unit.
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.
Runs unit tests for an addon or component.
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 a message and 1-8 variables to the RPT log.
Trims white-space (space, tab, newline) from the both ends of a string.
Variable to check if it is of a particular type [Any, not nil]
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.
Rotates a 2D vector around a given center, for rotating of a vector from its origin, use BIS_fnc_rotateVector2D
Returns the difference of two vectors.
Record a timestamped, non-critical error in the RPT log.
Close