Script:Commands

From Arx Libertatis Wiki
Revision as of 15:57, 16 January 2015 by Ds (talk | contribs) (Dscharrer moved page Script:Commands to Script tmp:Commands without leaving a redirect)
Jump to navigation Jump to search

Syntax

commandname [-flags] [parameters...]

All underscores in the command name are ignored: _a_cool__c_o_m_m_a_n_d and acoolcommand call the same command.

If you want to find uses of a command in the game's script files, Arx Libertatis includes a helper script: find-script-command

Flags

Script commands can accept an optional set of flags. Each flag is a single character and the order of the flags doesn't matter. Flags always come before all other parameters.

Parameters

The number of parameters a command is fixed fixed for each set of flags.