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

Experience gain??

Status
Not open for further replies.
Level 3
Joined
Aug 27, 2004
Messages
50
how do i make a unit earn experience from custom triggers:
for example: set life of "unit" to life of "unit" -x
if the unit dies by this actino how do i make the caster of the ability earn experience for that kill and experience equal to the level of the enemy unit.
that means if the killed unit is lvl 5 it should give experience as a it gives when i kill it by a hit.

i wonder how blizzard does that with all their abilities?
can someone plesae help.
congrats to moderator status The_Raven
 
Level 5
Joined
Jun 21, 2004
Messages
129
Either download the beta patch or wait for it to come out and use the new damage actions, or use a dummy unit to cast a damage spell on the target.
 
Level 3
Joined
Aug 27, 2004
Messages
50
i better wait for the official release of the patch and get the damage actions then, sounds pretty cool.

i cant dl the beta patch. but thx for the tip.
 
Status
Not open for further replies.
Top