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

(Setting) Creep (given) Experience

Status
Not open for further replies.
Level 10
Joined
Jul 22, 2008
Messages
363
In the game im making which is like an arena game some of the creeps wont give xp when they are killed. For example when a lvl 1 skeleton is killed xp is given but when a lvl 1 forest troll is killed no xp is given. If you could help that would be great.:thumbs_up:
 
Level 15
Joined
Aug 14, 2007
Messages
936
Well I suggest you to use trigger


:



When a unit dies

Condition : When unit type of dying unit = "yourType"

Then Actions:
Create Floating text above dying unit
set velocity to 60 at 90 degress
...
..
set age to 0
Give Hero 20 exp ....

:

So Basically, you make all your units level 0, so when they die, they will not provide exp
Then use trigger to add in the exp, that is what most common rpg do
 
Status
Not open for further replies.
Top