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_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_setVarNet
CBA_fnc_shuffle
CBA_fnc_simplifyAngle
CBA_fnc_simplifyAngle180
CBA_fnc_sortNestedArray
CBA_fnc_split
 STRING
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
 VARIABLE(1-8)
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
CBA_fnc_whereLocalEvent
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.
Same as setVariable [“name”,var, true] but only broadcasts when the value of var is different to the one which is already saved in the variable space.
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.
string used by format
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]
elements for the list
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.
Raises a CBA event only on the machine where parameter one is local.
Close