Event referring to Reincarnation ability

mango

Member
Reaction score
0
I have a trigger that needs to run everytime the unit uses the ability "Reincarnation" (I am using a custom ability built off of Reincarnation, but that shouldn't have any effect). I've tried the events "unit - dies," "unit - begins casting an ability," and "unit - begins the effects of an ability." So far, not one of these events has fired the trigger. Is there a special action needed to call this event?
 

mango

Member
Reaction score
0
The only problem with that is I believe I need a specific unit to refer to, and I am using a variable.
 

bananaHUNT

You can change this now in User CP
Reaction score
55
Can't you add a buff field and check for it? I don't know when/how long the buff would appear, but for most abilities there is a buff field, I think for Reincarnation as well.
 

mango

Member
Reaction score
0
I could add a buff to the ability, but would that allow me to refer to the ability in a trigger? I'm afraid I don't understand :(
 

ShadowInTheD

Active Member
Reaction score
12
Checking if a unit's health becomes 0 should do the trick. You should be able to use a variable instead of a specific unit.
 

mango

Member
Reaction score
0
Are you referring to the event "Unit - Life"? Because I thought this sounded like the obvious event also, but it only allows me to use specific units, units that are already physically placed on the map, NOT units that I'm referring to through variables. Or are you referring to another event?
 

Faust

You can change this now in User CP.
Reaction score
123
Have you tried generic event unit dies?
I don't say it would work for sure, but it's probably one of the ways I'd check.
 

mango

Member
Reaction score
0
Yea, I've tried the events for "Dies." I think that these don't fire the trigger because the unit isn't "dying," it's just being revived, but idk.
 

bananaHUNT

You can change this now in User CP
Reaction score
55
I could add a buff to the ability, but would that allow me to refer to the ability in a trigger? I'm afraid I don't understand :(
You can periodically check if it has the buff right? Take a periodic time event and use 'If [unit] has buff';'Buff equal to [reinc buff]';'Then do your trigger'.
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Tssk tssk
Make a trigger, add the event A unit enters Playable Map Area

Condition: Level of Reincarnation for Entering Unit not equal to 0
Entering unit is in AddedUnitGroup equal to false

Action: Add Entering Unit to AddedUnitGroup
Add to ReincarnationDetect the event (Entering Unit) life becomes less or equal to 0.00

ReincarnationDetect is the trigger that runs when a unit is using reincarnation
Make sure to add "Triggering unit is alive equal to true" to that trigger

AddedUnitGroup is a unit group variable
 
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