Thread: NPC warping
View Single Post
  #28  
Old 12-31-2004, 05:50 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
I suggest instead of creating a random level, you make a database npc to hold the indexes of the levels created. Then when the player ends the battle, erase the level.

You could also have a timeout NPC running in the level. Read the index of the level with #e(#,#,#L) or something and make the script run deletelevel if the playerscount is 0. If the player enters, start the timeout.
Reply With Quote