--

From Arx Libertatis Wiki
Revision as of 21:19, 8 July 2022 by Ds (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The -- script command is used to decrement a number or int script variable for an entity. It is equivalent to dec <variable> 1.

Usage

-- <variable>

Context: Any Entity

Parameters:

ParameterTypeDescription
variable variable Name of the variable to decrement

The context entity is ignored when modifying global variables. System variables (those starting with ^) cannot be modified and string variables cannot be used in arithmetic.