Ok....well ben working pretty hard at it and looked up a lot and got it to work. only thing is...when you get near the char the text appears however when u walk away from the char the text still stays and I cant think of a way to get around this problem. any idea??
The code is like this:
text info1
{
pos_x = 4;
pos_y = 10;
layer = 15;
string = "";
flags = visible;
}
entity* Max2_MDL_001;
action displayinfo1
{
Max2_MDL_001 = me;
var i=1;
while(i)
{
if(vec_dist(me.x, plBiped01_entity.x) > 150)
{
wait(1);
}
else
{
info1.string = "this text appears when u get near the char";
i=0;
}
//i=1;
}
}