Hi Tony,
Getting a "Code has Syntax error" error, when trying to pass a number try variable from the database to a method. Can you tell me what I'm missing? Thanks!
Passing a dialogue Variable in the script field
Re: Passing a dialogue Variable in the script field
Hi,
Use [var=variablename] in text and sequences, but use Variable["variablename"] in Lua code such as Script and Conditions fields:
Use [var=variablename] in text and sequences, but use Variable["variablename"] in Lua code such as Script and Conditions fields:
Code: Select all
StartMoveMapCharacterCoroutine(7, 0, 16, Variable["TempCharacterID"], 0)
Re: Passing a dialogue Variable in the script field
Glad to help!