if place_meeting(x,y,obj_wall)
{
wid=collision_rectangle(x-8,y-7,x+8,y+7,obj_wall,1,1);
dir = point_direction(wid.x,wid.y,x,y);
move_outside_all(dir,4);
}
OK Game Maker, what's wrong this time? Can't find the variable x? that's your own variable! You must be getting old...Anyway, any one have any ideas how to prevent this error? The error message simply says unknown variable x, it does not say unknown variable wid. using debug, wid has an id, the same id as the wall instance. obviously the wall has an x variable. so WTF?
this isn't the first time GM has done this to me. i usually have to just work around it or ignore it but i would really like to find out what causes this.



Find content
Male
