Ahh. It worked like a charm.
Your Brilliant Tony! Thankyou very MUCH.
Search found 9 matches
- Mon May 06, 2024 8:29 am
- Forum: Dialogue System for Unity
- Topic: How to add/subtract int in C#
- Replies: 5
- Views: 359
- Mon May 06, 2024 8:14 am
- Forum: Dialogue System for Unity
- Topic: How to add/subtract int in C#
- Replies: 5
- Views: 359
Re: How to add/subtract int in C#
Thanks for the quick reply.
Ok just did it but I got an error?
error CS7036: There is no argument given that corresponds to the required formal parameter 'value' of 'DialogueLua.SetVariable(string, object)'
Ok just did it but I got an error?
error CS7036: There is no argument given that corresponds to the required formal parameter 'value' of 'DialogueLua.SetVariable(string, object)'
- Mon May 06, 2024 7:57 am
- Forum: Dialogue System for Unity
- Topic: How to add/subtract int in C#
- Replies: 5
- Views: 359
How to add/subtract int in C#
Hey Tony. I had another question. How do you Add/Subtract a int variable in C# script? Been digging through this website and I can't find no simple solution for it anywhere. Example. public int Coin = 100; void Start() int Coin = DialogueLua.GetVariable("Coin").AsInt; DialogueLua.SetVariab...
- Sun Mar 24, 2024 1:01 am
- Forum: Dialogue System for Unity
- Topic: Show Lua variable on screen with UI Textmeshpro
- Replies: 10
- Views: 695
Re: Show Lua variable on screen with UI Textmeshpro
Awesome! It worked. Thanks man.
Without your help I would seriously be lost.
Without your help I would seriously be lost.
- Sat Mar 23, 2024 4:02 pm
- Forum: Dialogue System for Unity
- Topic: Show Lua variable on screen with UI Textmeshpro
- Replies: 10
- Views: 695
Re: Show Lua variable on screen with UI Textmeshpro
Also I'll take an example of the in-line conditionals as well.
For future references.
For future references.
- Sat Mar 23, 2024 3:13 pm
- Forum: Dialogue System for Unity
- Topic: Show Lua variable on screen with UI Textmeshpro
- Replies: 10
- Views: 695
Re: Show Lua variable on screen with UI Textmeshpro
I keep getting an error when I type that line of code in?
Operator '>' cannot be applied to operands of type 'Lua.Result' and 'into.
Operator '>' cannot be applied to operands of type 'Lua.Result' and 'into.
- Sat Mar 23, 2024 1:44 am
- Forum: Dialogue System for Unity
- Topic: Show Lua variable on screen with UI Textmeshpro
- Replies: 10
- Views: 695
Re: Show Lua variable on screen with UI Textmeshpro
Thanks, your the best.
Also, is it possible to do (If Statements) with the lua variables in C# Script?
Also, is it possible to do (If Statements) with the lua variables in C# Script?
- Fri Mar 22, 2024 4:27 am
- Forum: Dialogue System for Unity
- Topic: Show Lua variable on screen with UI Textmeshpro
- Replies: 10
- Views: 695
Re: Show Lua variable on screen with UI Textmeshpro
I posted that line in (void Update()). And it worked great.
Thank you very much. You saved me a ton of headache.
Thank you very much. You saved me a ton of headache.
- Thu Mar 21, 2024 5:29 pm
- Forum: Dialogue System for Unity
- Topic: Show Lua variable on screen with UI Textmeshpro
- Replies: 10
- Views: 695
Show Lua variable on screen with UI Textmeshpro
Hello.
I'm trying to put my Dialogue Manager variables on the UI screen with Textmeshpro.
But everything I do never works
Would appreciate any feedback on how to get this to work. Thanks.
I'm trying to put my Dialogue Manager variables on the UI screen with Textmeshpro.
But everything I do never works
Would appreciate any feedback on how to get this to work. Thanks.