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!
Hello, there is some way to set the xp received from a unit only to the killing unit (so, let's say there is three heroes attacking a unit; so, the unit is killed by hero 1; then, hero 1 have now 100 xp, hero 2 have 0 xp and hero 3 have 0 xp)
First set the stats level of the unit giving the experience to 0, then add this trigger and change "YourDyingUnit" to the unit giving the experience.
Give Exp
Events
Unit - A unit Dies
Conditions
((Killing unit) is A Hero) Equal to True
Actions
If ((Unit-type of (Dying unit)) Equal to "YourDyingUnit") then do (Hero - Add 100 experience to (Killing unit), Show level-up graphics) else do (Do nothing)
If you want to add more units that give experience set their levels to 0 then copy and paste the ITE (If/Then/Else) and change "YourDyingUnit" to the new unit. You will also want to change the experience given, if you want to.
At first you have to enter gameplay constnts and reset experience table. Than you can use trigger above.
@13oot-Me use if\then\else with multiple actions for Do nithing removal.
Oops, haha... I pretty much just woke up so I skip a lot of crap >.< I thought you said remove the "do nothing" from the single action ITE. Does Do Nothing leak or something, I know it's useless but I think that's all. And shouldn't the multiple action ITE's only be used when you uhm, let's say, you actually have more than one action happening?
@watermelon_1234, I'm just arguing that there is no point in using a multiple action ITE if your not going to use multiple actions... I didn't think it was a huge deal if you put a do nothing in a single action ITE, but apparently so.
If it's so important than here...
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Dying unit)) Equal to "YourDyingUnit"
Then - Actions
Hero - Add 100 experience to (Killing unit), Show level-up graphics
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.