function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
local real x = GetUnitX( u )
local real y = GetUnitY( u )
if ( GetTerrainType(x, y) == (blight id) ) then
call SetUnitMoveSpeed(u, faster speed)
else
call SetUnitMoveSpeed(u, usual speed)
endif
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Untitled_Trigger_001, 1.00 )
call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions )
endfunction