inc

From Arx Libertatis Wiki
Revision as of 23:05, 17 April 2020 by Ds (talk | contribs)
Jump to navigation Jump to search

The inc script command is used to add a value to a script variable for an entity.

Usage

inc <variable> <value>

Context: Any Entity

Parameters:

ParameterTypeDescription
variable variable Name of the variable to add to
value number or variable Value to add to the variable

The context entity is ignored when modifying global variables.