| 04-30-2005, 09:08 PM | #1 |
i have WEU and i was wondering how do you put a local unit group into the unit group - pick every unit in unit group and do (actions) Code:
Unit Group - Pick every unit in (local unit group) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 10.00 towards (Facing of (Picked unit)) degrees), facing (Facing of (Picked unit)) degrees i have "local group unit_group" thing, i just need to know what i should put in to for the JASS part (if you don't have World editor unlimited this might not make sense) help would be rewarded edit* wasn't sure where to put this. |
| 04-30-2005, 11:48 PM | #2 |
Hmm, like this? :GUI: Code:
UG thing
Events
Conditions
Actions
Custom script: local unitgroup ug
Unit Group - Pick every unit in (Oh noes what do I do here??) and do (Actions)
Loop - Actions
-------- stuff... --------:JASS: Code:
function Trig_UG_thing_Func002A takes nothing returns nothing
// stuff...
endfunction
function Trig_UG_thing_Actions takes nothing returns nothing
local unitgroup ug
call ForGroupBJ( ug ), function Trig_UG_thing_Func002A )
endfunction
//===========================================================================
function InitTrig_UG_thing takes nothing returns nothing
set gg_trg_UG_thing = CreateTrigger( )
call TriggerAddAction( gg_trg_UG_thing, function Trig_UG_thing_Actions )
endfunctionYou can see where I put in ug there. |
| 05-01-2005, 05:56 AM | #3 |
just stick to normal waredit and use "Custom Script" action |
