Unfinished: This page is still under construction and needs to be completed. |
CWE_Functions.pbo includes numerous general-purpose sqf-functions, for many kinds of tasks. They can be used in missions and mod scripting, and they are all fully compatible with all CWE systems.
This list is completely unfinished as it stands.
FUNCTION: | USAGE: |
AddCargo |
Added in CWE version 0.92. Description: Syntax:
|
AddMagazines |
Description: Syntax: Example: |
AmmoSufficient | |
ArrayToString |
Description: Syntax: "Delimiter" is a string that is added between each element of the array. This parameter is optional. Examples: |
BoolEqual |
Description: Syntax: Returns: |
BoolState |
Description: Syntax: Returns: |
BuildingPosCount |
Description: Syntax: Returns: |
ChangeLeader |
Description: Syntax: |
ChooseMag | |
CountWaypoints |
Description: Syntax: Returns: |
Create |
Description: Syntax: Returns: |
CreateEffect |
Description: Syntax: Returns: |
DirCardinal |
Description: Syntax: Returns: |
DirCardinal2 | Description: Same as DirCardinal, but doesn't include the hyphen in the direction name. |
DirToPos |
Description: Syntax: Returns: |
DisableErrors | |
DistancePos |
Description: Syntax: Returns: |
DistancePos3D |
Description: Syntax: Returns: |
DistRound | |
EmptySlots | |
EnemyDir | |
EstimatePos |
Description: Syntax: Returns: |
Arrays: AddArrays |
Description: Syntax: Returns: |
Arrays: SelectCondition |
Description: Syntax:
Returns: Example: |