from above:
while (1){
if (vec_dist(nonmovingentity.x, player.x) > limit)
{
wait(1); // if non-moving entity is further than limit quants from player, wait }
else
{ // stuff here for displaying text about the nonmovingentity entity }}
what do I replace nonmovingentity.x with. I know its the character that isnt moving but how do I reference that character. Player is the current player but I dont know what the character is??