checking for walkable areas

Started by stepsoversnails, Mon 21/03/2011 02:03:21

Previous topic - Next topic

stepsoversnails

I can't figure out a script that simply checks if there is a certain amount of walkable area in front of a character.
i'd really love some help, thanks!  ;D

Gilbert

I don't quite get your question, what do you mean by walkable area in front of a certain character?
Are you referring to walk-behinds instead?

stepsoversnails

it's okay i got it.
aha.
sorry for that.

Code: ags
if (GetWalkableAreaAt(cEgo.x - 30, cEgo.y - 0) == 0){
   Display ("There's not enough room.");
}
else {

SMF spam blocked by CleanTalk