View Single Post
  #4  
Old 07-06-2007, 03:36 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Or you could just define the features and stats in a system weapon or something. this.normalstats, this.sparstats, this.otherstats and simply switch between them. On Aeon I use a client.world variable to show different areas. Each world has a level prefix to define it. Its checked every time you change level and if the world is changed from the last one it calls onWorldChange() in all weapons.

For one thing, you shouldn't even be using enablefeatures() or showstats() in more than one weapon, same with tiledefs.
__________________
Reply With Quote