Thread: sparring zone
View Single Post
  #8  
Old 06-10-2007, 04:08 AM
Grey Grey is offline
Classic Developer
Grey's Avatar
Join Date: Mar 2007
Location: Wales, UK
Posts: 134
Grey will become famous soon enough
Send a message via AIM to Grey
issparringzone is only to check if the level is a sparring zone.

if (issparringzone) {
//dostuff
}

Sparring zones are set as Dusty says, but with just 'sparringzone' on its own in an NPC instead. As far as I know there is no way of setting a partial sparringzone in a level (such as inside the sparring area) though you can do something like checking the player's x and y and if it is in a certain area then enabling weapons, otherwise disabling them instead.
Reply With Quote