Changing Unit Type?

Status
Not open for further replies.
Level 3
Joined
Oct 21, 2023
Messages
25
I'm having issues with my counter counting units that are summoned, when i have a trigger that tells it not to otherwise.

How can i fix that or how can I change my unit type to fix it?

  • ((Owner of (Killing unit)) Equal to Player 2 (Blue)) and ((((Dying unit) is Summoned) Not equal to True) and (((Dying unit) is an illusion) Not equal to True))
 
That (Summoned) check should work fine, do you have "special" summons or triggered summons?

But you'll have to show your whole trigger for us to really know what's going on.

Also, this is nitpicky but I feel like you should use False over Not True, just more logical and easier to understand:
  • ((Owner of (Killing unit)) Equal to Player 2 (Blue)) and ((((Dying unit) is Summoned) Equal to False) and (((Dying unit) is an illusion) Equal to False))
 
It's not a trigger, its done by abilities. I modified an ability of a unit. Unit dies>triggers ability spell>summons unit

Ability is Spawn Spiderlings (Neutral Hostile)
 
It's not a trigger, its done by abilities. I modified an ability of a unit. Unit dies>triggers ability spell>summons unit

Ability is Spawn Spiderlings (Neutral Hostile)
So Spawn Spiderlings doesn't give the Summon classification to the summoned units for whatever reason. You'll need to add it yourself when they're created:
  • Spawn Spiderling
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to Spiderling
    • Actions
      • Unit - Add classification of Summoned to (Summoned unit)
They still fire a "summoned" event though.
 
So Spawn Spiderlings doesn't give the Summon classification to the summoned units for whatever reason. You'll need to add it yourself when they're created:
  • Spawn Spiderling
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to Spiderling
    • Actions
      • Unit - Add classification of Summoned to (Summoned unit)
They still fire a "summoned" event though.

Is there a way to make a trigger for all summoned creature in the game? Or I have to make it for every units with summons.
 
Status
Not open for further replies.
Back
Top