• 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!

Level of unit x25?

Status
Not open for further replies.
I probably won't get the answer I need before I go home and check myself, but is there a function that lets you pull the value off of a unit's (Not heroes) level?

Like.

You kill a level two gnoll.

The function I want would be to add 25 points times the level of the gnoll, which equals two. Making it a total of 50 points.

SOLVED
 
Last edited:
Events: Unit - A unit dies
Conditions: Boolean - (Killing Unit) is a Hero Equal to True
Actions: Hero - Add [x] experience to (Killing Unit), Show level-up graphics

For [x], put in [Arithmetic - (Unit - Level of (Triggering Unit)) x (Value - 25)]

(The hypheins in the above equation are not subtraction signs, they're just for seperation)
That's easy stuff.
 
Status
Not open for further replies.
Back
Top