what I have put into my code now is as follows:
action displayinfo1_player
{
while(1)
{
if(vec_dist(nonmovingentity.x, player.x) > 20)
{
wait(1)
}
else
{
text info1
{
pos_x = 4;
pos_y = 10;
layer = 15;
string = "I will enter my info here.";
flags = visible;
}
}
}
}
but it comes up that the nonmovingentity isn't a defined parameter. and it also says keyword unknown for text...thats text info1 in the code above
sorry bout all this!