Search found 368 matches

by hrohibil
Sat Jun 08, 2024 2:07 am
Forum: Dialogue System for Unity
Topic: Customize UI potrait name textmesh pro
Replies: 3
Views: 117

Customize UI potrait name textmesh pro

Hello Toni

I am trying to customize the UO elements following your video tutorial.

I want to change the Portrait name from text to texrmeshPro- but it seems from the Standard UIO subtitle Panel I don't have that option nor can i in script see where to add the definition

by hrohibil
Sat Jun 08, 2024 12:10 am
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Re: Accessing scripts

Thank you so much Toni!!!!

I was just about to record a video for you but this typing in it manual worked like a charmed!!!
Your are the legend!!!!!!!!!!!!!

Can i just add more into the awake LUA registration as the shop also sell guns?

Thank you again......
by hrohibil
Fri Jun 07, 2024 10:16 pm
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Re: Accessing scripts

I did watch that video. I don’t have any greater or equal to option for this getCurrentCash() >= getFoodPrice()?? I also tried to paste it directly into the condition field without using the custom drop-down??? That did not work either . I would like to troubleshoot the getCurrentCash() <= getFoodPr...
by hrohibil
Fri Jun 07, 2024 3:06 pm
Forum: Dialogue System for Unity
Topic: Sequnser camera
Replies: 1
Views: 98

Sequnser camera

Hi Toni I was having issue with setting up an empty an use that transform as a camera point. So i followed your tut on assigning a camera as a Sequnser camera. I setup and placed the camera where i wanted it and added this to the dialouge manager Sequnser field. Now my question is, what about in ano...
by hrohibil
Fri Jun 07, 2024 2:25 pm
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Re: Accessing scripts

Toni Following your tutorial, i created a custom lua with the two variables "getCurrentCash" and "getFoodPrice" see screendump below. But for the script metod, "BuyFood", how do i set that up here? I mean what parameter should it take as it is a method? Furthermore, in ...
by hrohibil
Fri Jun 07, 2024 12:17 pm
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Re: Accessing scripts

Ahh wait a minute.. I think I see it. The methods you gave me for the variables were not spelled correctly on my side.. Sorry Toni. I try again. For setting them up to be available as condition and script I can follow your video tutorial on setting up the custom lua right? Can I have as many variabl...
by hrohibil
Fri Jun 07, 2024 12:04 pm
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Re: Accessing scripts

Forgive me Toni.

Yes you did and I used your exact example as see you see in the attached screenshot.

I am not sure what I am doing wrong here..
by hrohibil
Fri Jun 07, 2024 10:50 am
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Re: Accessing scripts

Toni


I am getting error on two, my currentMoney and foodPrice.
Non-invocable member 'shopManager.currentMoney' cannot be used like a method.

My int for currentMoney and foodPrice are just variables like this:
public int foodPrice = 20;


by hrohibil
Fri Jun 07, 2024 4:42 am
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Re: Accessing scripts

Hey Toni Thank you for reply. Before I proceed I just want to confirm that this is the easiest approach for me. Because as I had a quick look to the LUA video tutorial and your written instructions it seems like is focusing on single situation like one int or one bool, in my situation I want to run ...
by hrohibil
Thu Jun 06, 2024 5:18 pm
Forum: Dialogue System for Unity
Topic: Accessing scripts
Replies: 13
Views: 272

Accessing scripts

Hello Tony Please advice me here I have a shop. When player enters, he goes to the NPC. He has the option to buy food or guns. But he can only buy food if he has cash. I have a shopManager script where i handle my cash, food, items. I want to access this script so if he has cash to buy food, then pr...