- Joined
- Nov 3, 2009
- Messages
- 28
1: how to fix the scale, transparency, and other properties of the model used in an spell, without resorting to using 3dmax
2: i have trigger at my map to mass move units
2: i have trigger at my map to mass move units
-
function Trig_Mass_attack_Conditions takes nothing returns boolean
-
if ( not ( GetSpellAbilityId() == 'A05K' ) ) then
-
return false
-
-
endif
-
return true
-
-
endfunction
-
function Trig_Mass_attack_Func001002 takes nothing returns nothing
-
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetSpellTargetLoc() )
-
-
endfunction
-
function Trig_Mass_attack_Actions takes nothing returns nothing
-
call ForGroupBJ( GetUnitsInRectOfPlayer(GetEntireMapRect(), GetOwningPlayer(GetTriggerUnit())), function Trig_Mass_attack_Func001002 )
-
-
endfunction
-
//===========================================================================
-
function InitTrig_Mass_attack takes nothing returns nothing
-
set gg_trg_Mass_attack = CreateTrigger( )
-
call TriggerRegisterAnyUnitEventBJ( gg_trg_Mass_attack, EVENT_PLAYER_UNIT_SPELL_CHANNEL )
-
call TriggerAddCondition( gg_trg_Mass_attack, Condition( function Trig_Mass_attack_Conditions ) )
-
call TriggerAddAction( gg_trg_Mass_attack, function Trig_Mass_attack_Actions )
-
-
endfunction