- Joined
- Jun 27, 2010
- Messages
- 2,725
Hey guys I have some thoughts about can you make a trigger that will stop the unit from blinking if the blink point is on a upper level of trrrain?
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
call MeleeStartingVisibility( )
call MeleeStartingHeroLimit( )
call MeleeGrantHeroItems( )
call MeleeStartingResources( )
call MeleeClearExcessUnits( )
call MeleeStartingUnits( )
call MeleeStartingAI( )
call MeleeInitVictoryDefeat( )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions )
endfunction
You can actually check the level of the cliff.
i've found out something
actually you can detect if the casting point is on an upper cliff terrain,