Search found 9 matches

by Dumppermen10
Mon May 06, 2024 8:29 am
Forum: Dialogue System for Unity
Topic: How to add/subtract int in C#
Replies: 5
Views: 46

Re: How to add/subtract int in C#

Ahh. It worked like a charm.
Your Brilliant Tony! Thankyou very MUCH. :mrgreen:
by Dumppermen10
Mon May 06, 2024 8:14 am
Forum: Dialogue System for Unity
Topic: How to add/subtract int in C#
Replies: 5
Views: 46

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)'
by Dumppermen10
Mon May 06, 2024 7:57 am
Forum: Dialogue System for Unity
Topic: How to add/subtract int in C#
Replies: 5
Views: 46

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...
by Dumppermen10
Sun Mar 24, 2024 1:01 am
Forum: Dialogue System for Unity
Topic: Show Lua variable on screen with UI Textmeshpro
Replies: 10
Views: 285

Re: Show Lua variable on screen with UI Textmeshpro

Awesome! It worked. Thanks man.
Without your help I would seriously be lost. πŸ˜‚πŸ˜‚πŸ˜‚
by Dumppermen10
Sat Mar 23, 2024 4:02 pm
Forum: Dialogue System for Unity
Topic: Show Lua variable on screen with UI Textmeshpro
Replies: 10
Views: 285

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.
😁
by Dumppermen10
Sat Mar 23, 2024 3:13 pm
Forum: Dialogue System for Unity
Topic: Show Lua variable on screen with UI Textmeshpro
Replies: 10
Views: 285

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.
by Dumppermen10
Sat Mar 23, 2024 1:44 am
Forum: Dialogue System for Unity
Topic: Show Lua variable on screen with UI Textmeshpro
Replies: 10
Views: 285

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?
by Dumppermen10
Fri Mar 22, 2024 4:27 am
Forum: Dialogue System for Unity
Topic: Show Lua variable on screen with UI Textmeshpro
Replies: 10
Views: 285

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.
by Dumppermen10
Thu Mar 21, 2024 5:29 pm
Forum: Dialogue System for Unity
Topic: Show Lua variable on screen with UI Textmeshpro
Replies: 10
Views: 285

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.