Hello Jassers
I have a problem with weather-effects. Below the vJass code:
In the function init_weather i assign 2 weather-effects to an array. I want enable them later somewhere else. I call the init_weather function within a at-map-init-trigger. After this point all other initializations i call within the same trigger won't be executed, execution is stuck in the init_weather function. What's wrong with it?
Thanks for any answers.
whisp
I have a problem with weather-effects. Below the vJass code:
JASS:
type weather10 extends weathereffect array[10]
globals
weather10 glb_map_wide_weathers extends array
endglobals
function init_weather takes nothing returns nothing
set glb_map_wide_weathers[0] = AddWeatherEffect ( bj_mapInitialPlayableArea, 'WOcw' ) //blizzard
set glb_map_wide_weathers[1] = AddWeatherEffect ( bj_mapInitialPlayableArea, 'SNbs' ) //wind
endfunction
In the function init_weather i assign 2 weather-effects to an array. I want enable them later somewhere else. I call the init_weather function within a at-map-init-trigger. After this point all other initializations i call within the same trigger won't be executed, execution is stuck in the init_weather function. What's wrong with it?
Thanks for any answers.
whisp