if(CollisionFree("Event Actor",x,y+2)==0)
{
//Turn around script here, Here's what it could be?
ChangeAnimation(///);
xvelocitty=-xvelocity;
}
if(CollisionFree("Event Actor",x,y+2)==0)
if(CollisionFree("Event Actor",x,y+2)==0||CollisionFree("Event Actor",x-2,y)==0||CollisionFree("Event Actor",x+2,y)==0)
DST wrote:Then in enemy>draw actor>, just have the enemy walk between the two points.
Users browsing this forum: No registered users and 1 guest