Anvil
Anvil.API.StrTokenCustom Struct Reference

Public Member Functions

 StrTokenCustom (int tokenNumber)
 

Public Attributes

readonly int TokenNumber
 

Properties

string? Value [get, set]
 Gets or sets the string value of this token.
More...
 

Property Documentation

◆ Value

string? Anvil.API.StrTokenCustom.Value
getset

Gets or sets the string value of this token.

Custom tokens 0-9 are used by BioWare and should not be modified.
There is a risk if you reuse components that they will have scripts that set the same custom tokens as you set.
To avoid this, set your custom tokens right before your conversations (do not create new tokens within a conversation, create them all at the beginning of the conversation).
To use a custom token, place <CUSTOMxxxx> somewhere in your conversation, where xxxx is the value supplied for nCustomTokenNumber. <CUSTOM100> for example.


The documentation for this struct was generated from the following file: