--

From Arx Libertatis Wiki
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.