Joshua Worth wrote:it should work with the following code
- Code: Select all
if(distance(x, y, monster.x, monster.y) <= 150)
{
angle=direction(monster.x, monster.y, x, y) + 180;
directional_velocity = 2;
}
but if it doesn't, either i have no idea what is going on, or there is some other script acting at the same time as that one, changing something
It's making the SINI actor run towards monster when closer than 150 pixels.
I tried to remove the +180 and it's still not working.
I tried to export as exe to see if there is difference but it's still not working.
There is many other scripts working the same time but not something crossing this script.
Is there any max draw actor script limit in GE?