Unit Group question... sorta

Emu.Man00

New Member
Reaction score
41
''Unit Group - Pick every unit in (Random 1 units from (Units within 700.00 of (Position of DummyFC) matching ((Angle from (Position of DummyFC) to (Position of (Matching unit))) Greater than or equal to 10.00))) and do (Actions)''

Is that the correct way to reference the unit that is to be picked in this same action?
 

Komaqtion

You can change this now in User CP.
Reaction score
469
yes but you need to put that line in a group variable to remove the leak it creates.
then use this line after it has been used:
call DestroyGroup(udg_Your_Group_Variable)
make sure you put that udg infront of the variable name.

This can be written in the action: Custom Script
 

Kikac_NNGK

Well-Known Member
Reaction score
33
u should make whole (Random 1 units from (Units within 700.00 of (Position of DummyFC) matching ((Angle from (Position of DummyFC) to (Position of (Matching unit))) Greater than or equal to 10.00))) in a Unit group variable
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top