• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

create contamination with death of unit

Status
Not open for further replies.
Level 2
Joined
Jun 1, 2014
Messages
18
i want to create at the position of dying unit a little circle of contamination but i have no idea how to , maybe someone is so nice to give me this trigger if yes thank you very much!
 
unit dies -> at this position create undead land (and this in a circle around this dead unit and not in a square )
 
unit dies -> at this position create undead land (and this in a circle around this dead unit and not in a square )
it's called blight. You may create dummy unit and add it ability like undead constructions have to blight circle region after building. After unit death you spawn one dummy unit with blight ability and it is done.
Remember - blight is visible only on some tiles. Tiles like road, rock etc doesn't show the blight.
 
You can use this in the Trigger.
  • Environment - Create Blight for (Player) from (Position) to a radius of (Size)

so my trigger looks like this now :

  • Event
  • Unit - A unit dies
  • Conditions
  • ((Dying Unit) is undead) equal true
  • Actions
  • Environment - create Blight for Spieler 1 (Rot) across(Region centered at (Position of (Dying unit)) with size(3.00, 3.00)))
so this would just create blight for player 1 units which are undead and does it work for units with more than 1 classification too ?
 
so my trigger looks like this now :

  • Event
  • Unit - A unit dies
  • Conditions
  • ((Dying Unit) is undead) equal true
  • Actions
  • Environment - create Blight for Spieler 1 (Rot) across(Region centered at (Position of (Dying unit)) with size(3.00, 3.00)))
so this would just create blight for player 1 units which are undead and does it work for units with more than 1 classification too ?
Probably. If you want to find a unit who's classified as Mechanical-Undead for example, use this condition.
  • Conditions
    • And - All (Conditions) are true
      • Conditions
        • ((Dying unit) is Undead) Equal to True
        • ((Dying unit) is Mechanical) Equal to True
 
Note that blight can't be placed on unbuildable terrain. I don't know what your map is like so that could be the problem.
 
its mostly on the same lvl and naked with jst some grass so there is nearly nothing which is unbuildable
if the unit dies on the gras or bevel nothing happens ... it is dead but no blight
 
Status
Not open for further replies.
Back
Top