detectMapAreaCollision()
Purpose
Used to tell if a sprite is colliding with marked collision areas in map data
Description
Receives a sprite handle and an area name and returns a true or false value
Syntax
collide = detectMapAreaCollision( areaName, sprite )
Arguments
collide Boolean value (true or false) to indicate if a collision has occured with the supplied area
areaName String name of the marked area to collide with
sprite Handle of the sprite being collided
Example
Associated Commands
drawMap(), drawMapLayer(), getMapArea(), getMapAreaNames(), getMapLocation(), getMapLocationNames(), loadMap(), unloadMap(), updateMap()