Thank you for your nice tool.
I have one questions.
How can I use a function in function's argument in Dialogue Entry > Sript;
I want to do this code.
GetMoney() is defiend in my c# script. and registered.
it return a int.
How to use a function in function's argument.
Re: How to use a function in function's argument.
Hi,
Use the [lua(code)] markup tag:
You can also use Lua in Dialogue Text:
Use the [lua(code)] markup tag:
Code: Select all
ShowAlert("[lua(GetMoney())]")
- Dialogue Text: "You have [lua(GetMoney())] money."
Re: How to use a function in function's argument.
Thank you!
It worked well.
It worked well.
Re: How to use a function in function's argument.
Glad to help!