Carl-Fredrik
New Member
- Reaction score
- 51
Hey.. I wanted to start map with vJass again (I was starting to learn it) since I've started a new map now, and I want the map to be all visible. So I made this simple trigger.
Well... after some tries, it finally works, the game starts... but well... the map is still dark >.>
Why?
// Carl-Fredrik
JASS:
scope vJass initializer Init
private function Actions takes nothing returns nothing
call SetMapFlag( MAP_FOG_ALWAYS_VISIBLE, true )
endfunction
//===========================================================================
private function Init takes nothing returns nothing
local trigger trig = CreateTrigger( )
call TriggerAddAction( trig, function Actions )
endfunction
endscope
Well... after some tries, it finally works, the game starts... but well... the map is still dark >.>
Why?
// Carl-Fredrik