Skip to content

Define

Add a name that can be used to resolve an Entity id for this SetText call in Dialogue mode.

Syntax

|define,id,name|

Parameters

id: int

The Entity id to resolve using name from now on. This must be a valid Entity id or an exception will be thrown when resolving the entity.

name: string

The name that will be used to resolve the Entity id id from now on. Any string is allowed and it is case sensitive.

Remarks

This command allows access to a feature some commands supports which is to use the define list to resolve Entity by a string key rather than the traditional Entity id key. Not all commands supports this feature, check the command's documentation to learn if it is supported. Other commands only supports Entity id keys.

In non Dialogue mode, this command technically works, but it will not clear the define list as this task is done in Dialogue setup.