I am a programmer working with the free version of A8
I am using the command:
Code:
action go_down()
{
	triangle = me;
	if (vec_dist(me.x, character.x) <= 559) //this is the line that's driving me insane!
	{
		wait(1);
		ent_remove(me);
	}
}



and I was playing around with the value in the vec_dist to try and find one to my liking
that's where my problem began.
If the value is anywhere between 0 and 559
nothing happens, the entity never removes itself, no matter where character is
if the value is over 559 (560+) the entity removes itself the second the code compiles.
what am I doing wrong?!
Please help!
Rtsgamer706