Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would a proximity-based dialogue system work?

Asked by 4 years ago
Edited 4 years ago

Just as the title states, I'm currently interested in creating a proximity-based dialoguer system so that whenever the Player approaches a certain object then a StarterGui could be prompt, reading off text. Of course a "next" button would be handy too, This is not a request but I'd very much appreciate a nudge to the right direction, I'm pretty new to scripting so please forgive my lack of knowledge.

0
What is the problem? What part of creating the script is confusing you? Benbebop 1049 — 4y
0
Specifically it would be the proximity, I.E The Player is within 20 studs which then sends the trigger for the StarterGui to appear. ofek163 7 — 4y
0
Check out magnitude, it calculates the distance between two Vector3s or two Vector2s. This explains it much better then I could in a comment: https://developer.roblox.com/en-us/articles/Magnitude sorry about how long the response took Benbebop 1049 — 4y

Answer this question