Multiple Summon Detection

Hildagarn

Member
Reaction score
20
If my summon ability summons two voidlings, how would i locate them in triggers?
does
Trigger:
  • Make summoned units independant
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
    • Actions
      • Custom script: call IndieSummon_SetMaster( GetSummonedUnit(), GetSummoningUnit())

still work if it summons 2 units?
 

Tyrulan

Ultra Cool Member
Reaction score
37
You'd use an array for 2 summoned units. The first time the event is hit would be for the first unit, and so forth.

Or you could use a unit group and add them to it. Same deal.
 

Hildagarn

Member
Reaction score
20
How would I get add Summoned unit to (unit group) if they are both summoned at the same time (the ability is based off summon bear)
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
still work if it summons 2 units?
I think so. I haven't actually tried it, but I expect that the trigger will run independently for each summoned unit.

[edit] Tested. The trigger will run once for every summoned unit.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top