View Single Post
  #1  
Old 05-21-2010, 01:39 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
onTileType(type,x,y,width,height)

onTileType(type,x,y,width,height)

Similar to onwall2 and onwater2, it would return true if the specified tiletype is found in the defined area. This would be useful for checking for things like chairs when replicating horse movement without having to do it the old fashioned way.


Also, if it can be done...

onTiles({array},x,y,width,height)

would return true if the tiles found in the specified area are found in the array. Would relieve a lot of looping that has to be done with special tile checks.
Reply With Quote