Scripting Commands by Functionality
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.
Custom Panels
Commands to handle Custom Panels.
Editor Control
Functions to interact with 2D editor.
GUI Control
Customize the look of dialogs and menus in the game.
Lights
Create, enable light sources on vehicles, terrain objects or lightpoints.
Mods and Addons
Commands that are used to get information about mods and addons.
Object Information
Find out things about your troops and other objects.
Object Manipulation
Create and define troops and other objects.
Program Flow
Commands to define loops, conditions, and jumps inside scripts.
Remote Control
Manipulate and connect to UAVs or remote control units.
Ropes and Sling Loading
Attach and detach ropes to objects, slingload and drop them.
Team Switch
Everything to do with the Team Switch feature.
Unit Control
Controls the behaviour of your troops.
Vehicle Loadout
Vehicle loadout related commands.
Weapon Pool
The Weapon Pool enables the player to use weapons from one mission in others.