- Joined
- Jul 1, 2008
- Messages
- 1,314
Hello Guys,
Can you please explain to me, how to use the GUI-function
When i change this GUI-function in custom script, it shows multiple functions to handle the Mathing Condition, isn't there any wayt o code it easier?
Would be very nice, if someone could help me
Greets
Can you please explain to me, how to use the GUI-function
- Set TempGroup = (Units in (Playable map area) matching (((Matching unit) is a Building) Equal to True))
When i change this GUI-function in custom script, it shows multiple functions to handle the Mathing Condition, isn't there any wayt o code it easier?
JASS:
function Trig_trigg1_Func001002002 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == true )
endfunction
function Trig_trigg1_Actions takes nothing returns nothing
set udg_TempGroup = GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_trigg1_Func001002002))
endfunction
Would be very nice, if someone could help me
Greets