hey guys! once again im having some trouble.
this is all basics and ive gone through platform school to try and troubleshoot my issues,but im still at a dead end.
im trying to make a really simple enemy behavior.
meanin,that the enemy would patrol back and forth on his platform,NEVER leaving that particular platform.
im having issues trying to make the enemy detect the player and chase him when the player is on the same platform,but to stop chasing and continue patrolling, if the player goes out of this particular platform. also,im trying to make it so that the enemy tries to hit the player every,say, 3 seconds.
so,if anyone could make some sense to this mess of a code,id be thankful: