Script:++

From Arx Libertatis Wiki
Jump to navigation Jump to search

In Arx Libertatis 1.1, ++ cannot be used with int variables, use inc <variable> 1 instead. This is fixed in Arx Libertatis 1.2.

The ++ script command is used to increment a number or int script variable for an entity. It is equivalent to inc <variable> 1.

Usage

++ <variable>

Context: Any Entity

Parameters:

ParameterTypeDescription
variable variable Name of the variable to increment

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.