Scripting Commands by Functionality: Difference between revisions
Fred Gandt (talk | contribs) (Updated layout to follow Command v Function v Tool site color scheme + Added Hatnote to "See also: Functions by Functionality" + Linked Math Commands as an "Also" in example list for Cat:Cmd Grp Math) |
Fred Gandt (talk | contribs) m (Added Time Functions and Weapon Pool) |
||
Line 195: | Line 195: | ||
:[[loadFile]] | :[[loadFile]] | ||
:[[saveGame]] | :[[saveGame]] | ||
</div> | |||
<div class="floating-box cmd"> | |||
==[[:Category:Command Group: Time Functions|Time Functions]]== | |||
'''Read and set the in-game time.''' | |||
;e.g. | |||
:[[accTime]] | |||
</div> | </div> | ||
Line 233: | Line 240: | ||
:[[addWaypoint]] | :[[addWaypoint]] | ||
:[[deleteWaypoint]] | :[[deleteWaypoint]] | ||
</div> | |||
<div class="floating-box cmd"> | |||
==[[:Category:Command Group: Weapon Pool|Weapon Pool]]== | |||
'''The ''Weapon Pool'' enables the player to use weapons from one mission in others.''' | |||
;e.g. | |||
:[[addMagazinePool]] | |||
:[[fillWeaponsFromPool]] | |||
:[[queryMagazinePool]] | |||
</div> | </div> | ||
Revision as of 11:15, 28 July 2014
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.
Activators
Set, define and use Triggers and Event Handlers.
Editor Control
Functions to interact with editor.
Multiplayer
Commands that are specific to Multiplayer games.
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.
System Commands
Commands that deal with the game as a whole.
Unit Control
Controls the behaviour of your troops.
Weapon Pool
The Weapon Pool enables the player to use weapons from one mission in others.