How to add distance so that if a character is in a set area they can press C to activate different dialogues.
Hello, I dont want to change my program to much and have two variables, X, and Y, how can I get it so when "JH" - Dialogue and house = true and when a characters in a certain area, dialogue pops up?
if keyboard.Z then money +=2 end if keyboard.C then di = true end if dialogue == false then di = false end if di == true and house == true then jh = true elsif di == false then jh = false end if hg == false then dialogue == true end
Thanks