Weebl
New Member
- Reaction score
- 5
I tried getting the ID of water (turned out 1281651316) and then using this Id in the function SetTerrainTypeBJ. But nothing happened!
Here is the trigger I used:
Any help would be appreciated
Here is the trigger I used:
JASS:
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
call SetTerrainTypeBJ( GetRectCenter(GetPlayableMapRect()),1281651316,1, 800, 0 )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Untitled_Trigger_001, 1.00 )
call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions )
endfunction
Any help would be appreciated