Unit collision = kill "doesn't work"

UlquiorrA

New Member
Reaction score
0
The problem: units that come in contact with the Hero does not kill him

Heres my trigger that should kill heroes when touched by an enemy unit
Trigger:
  • Reds
    • Events
      • Unit - A unit comes within 50.00 of Escaper 0001 <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Not equal to Escaper
    • Actions
      • Unit - Kill Escaper 0001 <gen>


As you can see the hero is not dead, I don't know why
I didn't change anything on the bear in the object editor, and also i tried with another unit, and it still doesn't work
Warcraft3.jpg
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Is it initially turned on?
Does the polar bears have the ability "locust"?
Does the escaper have a larger collision size than 50?
>>I didn't change anything on the bear in the object editor,
Except for adding Locust? How else would you explain the health bar is shown above the escaper, but none of the polar bears... when the mouse is not over the escaper...

Well, to me it looks like the polar bears got Locust ability; hence add Immolation that burns nearby enemies within 50 range, instant killing them (high damage:p)
 

UlquiorrA

New Member
Reaction score
0
ah yeah ur right.
I tried adding immolation however and it doesnt seem to be working
is there any specific things i need to change for the ability?
i changed
Area of Effect to 75.00
Damage per interval to 10000.00
Mana Cost to 0

Trigger:
  • Invulnerable Enemy Units
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Actions)
        • Loop - Actions
          • Unit - Add Invulnerable (Neutral) to (Picked unit)
          • Unit - Add Immolation (Neutral Hostile) to (Picked unit)
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
>>ah yeah ur right.
Of course...

>>I tried adding immolation however and it doesnt seem to be working
I do believe I know why...

Polar bears still got locust, dont they???
Its a troublesome world we are living in...
Code:
Actions
    Set UnitGroupVariable = (Units of type Footman)
    Unit Group - Pick every unit in UnitGroupVariable and do (Actions)
        Loop - Actions
            Unit - Add Animate Dead to (Picked unit)
    Custom Script: call DestroyGroup(udg_UnitGroupVariable)
Why like this?
Because of the locust ability, the "Pick every units owned by Player 12..." does not select units with locust.

"Pick every units of type..." can select locust units.

Also: I do believe you should use the "Permanent Immolation", as in; Use Permanent Immolation!
Remember that the "Duration" on the immolation (same goes for the Permanent Immolation) ability is the interval between the damage...
 

UlquiorrA

New Member
Reaction score
0
thanks man ill try it soon and get back to u, not very advanced at this, and i need locust on coz it annoys people who attempt to slide while clicking on enemies
 
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