creating unit on death trigger help

Cdo

New Member
Reaction score
5
The main idea i'm having is that when a hero called the Headhunter dies i want it to create a Dying Headhunter unit, the problem is i want this trigger to only run if you have one of the Headhunters abillities (it's a hero skill called Fight untill the end), so is there a condition to check if the triggering hero has a certain skill, or not and if so i would appriciate it if you could tell me what is is....

Here's my current trigger
Trigger:
  • trigger
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Unit-type of (Dying unit)) Equal to Headhunter
    • Actions
      • Unit - Create 1 Dying Headhunter for (Triggering player) at (Position of (Dying unit)) facing Default building facing degrees
:)
 

urashimakt

New Member
Reaction score
0
Trigger:
  • Untitled Trigger 001
    • Events
    • Conditions
      • (Level of Reincarnation for (Dying unit)) Greater than 0
    • Actions


You're looking for something like that. Make a new condition and choose Integer Comparison. The skill level option will be under Units.
 

Cdo

New Member
Reaction score
5
Thanks so much.. but what sort of condition is it...

(i mean like intiger, real, abillity comparisen etc.) ?

Actaully i found it... thanks so much :)
 
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