RemoveWalkableArea (int areanum)
Removes the walkable areas in colour AREANUM from the current room. You can
put the area back with RestoreWalkableArea.
NOTE: When the player leaves the screen, all the walkable areas are reset.
Therefore, if you want an area to remain off when they leave the screen,
you will need to set a flag, then run the RemoveWalkableArea command in
the "Player enters room" event when they return.
Example:
RemoveWalkableArea(5);
will make the walking area 5 unwalkable.
See Also: RestoreWalkableArea
|