Filters an array based on given code, then assigns the resulting array to the original Parameters: ARRAY - Array to be filtered CODE - Condition to pick elements Example:
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.
Handles firing a disposable weapon.
Scripted waypoint that makes group garrision nearby buildings and static weapons.
Useful for working around , in macro parameters.
Formats time in seconds according to a format.
Formats a number to a minimum integer width and to a specific number of decimal places.
Returns active feature camera.
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.
Get a unit’s extended loadout Parameters: _unit - The unit to set the loadout on.
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 the bounding box of an object’s model.
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.
Get full variable identifier for a global variable owned by this component.
Get full variable identifier for a global variable owned by this addon.
Variable names to log values of [Any]
Creates a new Hash
Iterate through all keys and values in a Hash.
Iterate through all keys and values in a Hash.
Gets a value for a given key from a Hash.
Check if a Hash has a value defined for a key.
Returns all Keys in a Hash.
Removes given key from given Hash.
Sets a value for a given key in a Hash.
Get number of elements in a Hash.
Returns all values in a Hash.
Get the direction of a unit’s head.
Increase a number by one.
Record a message without file and line number in the RPT log.
Checks whether a config entry inherits, directly or indirectly, from another one.
Accumulates a value by passing elements of an array “through” a function.
Inserts an array of elements to given array at the specified index.
Finds unique common elements between two arrays and assigns them to the first array Parameters: ARRAY0 - The array to be modified ARRAY1 - The array to find intersections with Example:
Check if the local machine is an admin in the multiplayer environment.
Check if the local machine is a logged in admin in the multiplayer environment.
Array
Boolean
UI display handle(synonym for IS_BOOL())
Code block (i.e a compiled function)
Configuration
UI control handle.
UI display handle.
A compiled function (synonym for IS_CODE())
Group.
Is a number a whole number?
World location.
A floating point number (synonym for IS_SCALAR())
World object.
Floating point number.
A script handle (as returned by execVM and spawn commands).
Game side.
World object.
Structured text.
Checking the data types of variables.
A function used to find out if the group or object is alive.
Check if a value is a Hash data structure.
Function that checks if music is currently playing
Sets a variable with a value, but only if it is undefined.
Check if recompiling is enabled.
Check if the current scope is running in scheduled or unscheduled environment.
Check if object is a terrain object.
Checks whether a unit is turned out in a vehicle or not.
Checks whether a unit is turned out in a vehicle or not.
Get value from key in _this list, return default when key is not included in list.
Trims specified characters (all whitespace by default) from the left end of a string.
Raises a CBA event on the local machine.
Translate DIK code and modifier keys to readable keybind.
Log a debug message into the RPT log.
Applies given code to each element of the array, then assigns the resulting array to the original Parameters: ARRAY - Array to be modified CODE - Code that’ll be applied to each element of the array.
Gets the direction between two map grid references.
Converts a 2, 4, 6, 8, or 10 digit grid reference into a Position.
Find a position relative to a known position on the map.
Returns the resulting matrix from the matrix-matrix product.
Returns the transposed matrix.
Message to add to the trace [String]
Record a single line in the RPT log.
Get the direction of any unit’s head.
A function for commanding a group to attack a location with information parsed from a module.
A function for commanding a group to defend a location with information parsed from a module.
A function for commanding a group to patrol a location with information parsed from a module.
Check whether these are any players within a certain distance of a unit.
Checks if the maps northing is reversed (like Chernarus & Utes, or any map pre-OA)