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

global xp just for one player

Status
Not open for further replies.
Level 14
Joined
Nov 4, 2006
Messages
1,241
you could make a trigger that adds the experience to the unit if its to far away

Edit: sth like this:

  • Events
    • Unit - A unit dies
  • Conditions
    • add player and unittype comparison here
  • Actions
    • if your AI controlled hero is within <xp range> of triggering unit Do nothing, else do add experience to hero
its more work if you have more then one hero in which should get global xp, but you can make one if/then/else action for each unit
 
Level 11
Joined
Dec 31, 2007
Messages
780
humm... i havent seen it that way... it is good... as i only have 1 hero im interested in to make him lvl up... actually 2... but is the same... hummm... ill try doing that and later post my results... thx ^^


... where were the xp tables... the ones that tells you how much xp a hero gains when killing a creep?
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
i guess there is a tutorial here about that, but i can't find it atm, it should be sth like gained hero xp - table and then you can set level amount, you can either try around or look around here, as far as i remember it has been discussed more then once
 
Status
Not open for further replies.
Top