• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Unit Group question

Status
Not open for further replies.
Level 12
Joined
Mar 17, 2007
Messages
412
Can you use a unit group within another unit group & is it acceptable?

  • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
    • Loop - Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
Well... I can see why you would use it.

Pick every unit in (ImmolationGroup) and do actions
- Set TempUnit = Picked unit
- Custom script: set bj_wantDestroyGroup = true
- Pick evert unit in (Units in (250) range of TempUnit) and do actions
---- Make TempUnit deal (damage) to Picked unit

Completely leakess, laggless, flawless, useless and every other thing with less that you can imagine.

Better yet there are approved missile systems that group units in range while in a ForGroup of the MissileGroup.
 
Status
Not open for further replies.
Top