FFA startpoints questions (Re: Faya)
Posted: 19 Mar 2018, 17:43
Having area mex deal with that is a little tricky. Have to rescan the map at gamestart by erasing old mexmap data, and reload luaui.
Any chance to have the mspots be created on initialize() so reloading won't be necessary ?
And to add some kind of tag that can be accessed from area mex widget, that tells the map has dynamic mex map so it doesn't attempt to store data from a game to another?
Rather than making a list of all the maps using dynamic mex placement... a common tag to all these maps would be a great help and ensure forward compatibility... :)
Edit: Since it's not up to you to deal with this, i'll just suggest that you use insert the "DynamicMexes" tag (case sensitive) in the map description.
This way, area mex will know the map mex placement might change and it won't load/save mexdata and will (re)process the map at gamestart.
Here's the relevant part of areamex code:
if Game.mapDescription then
dynamicMex = string.find(Game.mapDescription, "DynamicMexes")
end
Any chance to have the mspots be created on initialize() so reloading won't be necessary ?
And to add some kind of tag that can be accessed from area mex widget, that tells the map has dynamic mex map so it doesn't attempt to store data from a game to another?
Rather than making a list of all the maps using dynamic mex placement... a common tag to all these maps would be a great help and ensure forward compatibility... :)
Edit: Since it's not up to you to deal with this, i'll just suggest that you use insert the "DynamicMexes" tag (case sensitive) in the map description.
This way, area mex will know the map mex placement might change and it won't load/save mexdata and will (re)process the map at gamestart.
Here's the relevant part of areamex code:
if Game.mapDescription then
dynamicMex = string.find(Game.mapDescription, "DynamicMexes")
end