Hello, im trying to include an event where if a prisoner is to far away from a guard he will change color to notify the player but im lost at how to do it.
to get the distance you'd use:
so then you could do:
100 (distance from guard in pixels)
What am I dong wrong here, it's not printing anything?
Develop games in your browser. Powerful, performant & highly capable.
If I'm not totally wrong you compare your variable measure with the distance, you don't set it.
That what look like.
System Every tick -> set measure to distance(Player.X,Player.Y,Guard.X,Guard.Y)
set text to "Distance: "& measure