Backstory
Hi, I am Jack. Currently, my friends and I are making a Chicago based game and I am trying to make a navigation system. This is an easy just at the top left states the street you are on. We have a list of streets and all that ready but I don’t know how I would do this. I am a starter scripter so my first thought would be at every intersection have 4 blocks, one on each side, and when you touch it it changes the text in the UI. Well, this would be either a very long script or about 50 shorter scripts so I decided that’s probably not the best option. I found a model that I changed up but it wasn’t very accurate and a lot of times would not work properly. If you could drop a sample code for just one street it would help. An example is Firestone V3 they have a system similar but I wasn’t able to figure out how they made it.
What I Need
Well since this is one of my first scripts other than really simple ones for ELS I just need a sample code or someone to tell me a general way to start. If you were to give me a sample I will make it easy on you
Text Changed is in a frame in a screen UI
Name part just part1 and part 2
Make it so it changes the text between “Part 1” and “Part 2” however you think would be the best way to approach this.
How I Tried
I tried with a touch so when you touch a part named Western it puts your location as Western Ave. Here is a gif of that so you know what I am talking about but this way seemed very inconvenient.
https://gyazo.com/44cec25ab94270dc1350c5d64138f27c
Like I said just a way you think would be best to approach or a sample would be great. I am hoping to get better at scripting so also if you know any good tutorials or anything those would help to. Thank you for all your help.