Would it be possible to allow to make gmap variables?
It is currently possible to create level.variables (Correct?) But what about variables global to the gmap?
Would be nice for Mana Realms since each gmap is a new area and I could have an npc somewhere that sets variables like:
NPC Code:
function onCreated(){
gmap.areaname="Main Town";
gmap.areadescription="This is the main town";
}
This would purely be for convenience.. but would be better (in my opinion) than having to create a database (either on file browse or as DBNpc) to manage this information.
Also, now as I am typing I am pretty sure I tested level.vars out (also local.vars) and they didn't work properly. Are there no longer local to the level variables? Would be good for a day/night system to have something like:
NPC Code:
level.disabledaynight=false;
Could be done with strings (ie: client.disabledaynight=true) but would sometimes cause bugs if player warps out somehow. (ie: using warpto or some type of warping spell) This would also have to cause me to put an npc in all levels connected to the level disabling day/night in order to enable it again.
Just a suggestion, any feedback is welcome (as long as its positive)