
07-06-2007, 03:36 AM
|
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
|
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. |
|
|
|