Scripting Commands by Functionality – Category
Introduction
This page has been created to help you find the appropriate commands when you are dealing with specific scripting situations (e.g. all commands that have to do with triggers, or to control unit behaviour, etc.) Keep in mind that there can be cases where certain commands may appear in more than one category.
Camera Control
Camera functions for intros and outros. (e.g. camCreate, camSetDir)
Dialog Control
Customize the main menus in the game. (e.g. buttonAction, ctrlShow, lbPicture)
Environment and Weather
Control the weather. (e.g. setFog, setRain)
Groups
Read and set group formations and members. (e.g. formation, group, units)
GUI Interaction
On-screen messages, dialogs, menus. (e.g. hint, titleText, showGps)
Markers
Set, define and use markers. (e.g. createMarker, getMarkerType, setMarkerPos)
Math
Mainly trigonometry functions. (abs, atan, sin)
Mission Information
Read and set parameters for the current mission. (e.g. addRating, forceEnd, score)
MP Control
Commands that are specific to MultiPlayer games. (e.g. enableTeamSwitch, onPlayerConnected)
Object Information
Find out things about your troops and other objects. (e.g. alive, combatMode, fuel, isEngineOn, nearestObject)
Object Manipulation
Create and define troops and other objects. (e.g. action, createVehicle, setBehaviour, setDamage)
Program Flow
Commands to define loops, conditions, and jumps inside scripts. (e.g. exec, do, forEach, goto)
Radio Control
Control radio availability and messages. (e.g. enableRadio, groupChat, vehicleRadio)
Sides
Read and set unit affiliations. (e.g. captive, countEnemy, friendly)
Sounds
Contol in-game sounds. (e.g. fadeMusic, playSound, say)
System Commands
Commands that deal with the game as a whole. (e.g. benchmark, cadetMode, loadFile, saveGame)
Time Functions
Read and set the in-game time. (e.g. accTime, skiptime, time)
Triggers
Set, define and use triggers. (e.g. addEventHandler, createTrigger, setTriggerPos)
Unit Control
Controls the behaviour of your troops. (e.g. commandFire, doMove, setHideBehind)
Vehicle Assignment
Vehicle related commands. (e.g. allowGetIn, assignAsCargo, moveInDriver)
Variables
Commands to handle arrays and other variables. (e.g. format, count, isNull, select)
Weapons
Weapon related commands. (e.g. addMagazine, ammo, weapons)
Subcategories
This category has the following 73 subcategories, out of 73 total.
C
- Command Group: AI Behaviour (22 P)
- Command Group: Animations (28 P)
- Command Group: Argo (18 P)
- Command Group: Arrays (36 P)
- Command Group: Artillery (8 P)
- Command Group: Briefing (63 P)
- Command Group: Broken Commands (37 P)
- Command Group: Camera Control (67 P)
- Command Group: Config (28 P)
- Command Group: Containers (46 P)
- Command Group: Conversations (8 P)
- Command Group: Curator (44 P)
- Command Group: Custom Panels (8 P)
- Command Group: Diagnostic (52 P)
- Command Group: Difficulty (11 P)
- Command Group: Eden Editor (56 P)
- Command Group: Environment (66 P)
- Command Group: Event Handlers (48 P)
- Command Group: Flags (11 P)
- Command Group: Game 2 Editor (57 P)
- Command Group: Groups (50 P)
- Command Group: HashMap (19 P)
- Command Group: High Command (27 P)
- Command Group: Interaction (64 P)
- Command Group: Leaderboards (9 P)
- Command Group: Lights (30 P)
- Command Group: Localization (5 P)
- Command Group: Locations (31 P)
- Command Group: Map (14 P)
- Command Group: Markers (49 P)
- Command Group: Mines (10 P)
- Command Group: Mods and Addons (11 P)
- Command Group: Multiplayer (78 P)
- Command Group: Namespaces (16 P)
- Command Group: Object Detection (42 P)
- Command Group: Object Manipulation (273 P)
- Command Group: Particles (8 P)
- Command Group: Pilot Camera (10 P)
- Command Group: Positions (49 P)
- Command Group: Program Flow (49 P)
- Command Group: Remote Control (21 P)
- Command Group: Render Time Scope (17 P)
- Command Group: RTD (46 P)
- Command Group: Sensors (18 P)
- Command Group: Sides (38 P)
- Command Group: Sounds (63 P)
- Command Group: Stamina System (21 P)
- Command Group: Structured Text (11 P)
- Command Group: System (86 P)
- Command Group: Team Switch (8 P)
- Command Group: Teams (22 P)
- Command Group: Time (14 P)
- Command Group: Triggers (33 P)
- Command Group: Turrets (31 P)
- Command Group: Uncategorised (empty)
- Command Group: Unit Control (81 P)
- Command Group: Unit Identity (20 P)
- Command Group: Unit Inventory (127 P)
- Command Group: Variables (62 P)
- Command Group: Vehicle Inventory (38 P)
- Command Group: Waypoints (63 P)
- Command Group: Weapon Pool (14 P)
- Command Group: Weapons (52 P)