unset

From Arx Libertatis Wiki
Jump to navigation Jump to search

The unset script command is used to remove a script variable for an entity. Since there is no way to test if a variable exists, removing a string variable is effectively equivalent to set <variable> "void" while removing a number or int variable is equivalent to set <variable> 0. However, unset will free up space in the save file while set with a default value will not.

Usage

unset <variable>

Context: Any Entity

Parameters:

ParameterTypeDescription
variable variable Name of the variable to remove

The context entity is ignored when modifying global variables. System variables (those starting with ^) cannot be removed.