Scenario: Reveal map at start?
Posted: Mon May 15, 2017 5:45 pm
I'm working on a modified version of the wave defense scenario. I would like show the map the start of the game. I was trying different variants of the chart functions and the only one I was able to get working was
Is there a cleaner way to reveal the map? I would have rather used something more generic like chart_all() but it did not seem have any effect during the on_init.
Klonan, any suggestions?
Code: Select all
script.on_init(function()
...
game.forces["player"].chart(game.surfaces[1], {{-1024,-1024},{1024,1024}})
end)
Klonan, any suggestions?