Skip to content

Copyvar

Set the value of a flagvar slot.

Syntax

|copyvar,value,flagvar|

Parameters

value: int

The value to set the flagvar slot to. This must be a valid int or an exception will be thrown.

flagvar: int

The flagvar slot to set the value to. This must be a valid flagvar slot or an exception will be thrown.

Remarks

This command is unused under normal gameplay. setvar allows the same functionality using syntax (1).