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

Exp Range

Status
Not open for further replies.
Level 30
Joined
Jul 31, 2010
Messages
5,259
hey :)
just want to ask about the melee game, I somehow notice killing enemy units using only units can still give exp to your heroes that is far away in a fight(ex. you left your hero in your townhall while you use your units to kill creeps away in your townhall), is this part of the game, or is it a bug? I can't remember a lot about melee games anymore

and in any change, is their a code that would only let heroes gain exp when killing units near them?
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Go to Gameplay Constants and set "Hero XP - Global Distribution" to false.

For setting the xp range around the heroes use "Hero Maximum XP Gain Range".


e: if you're interested, maximum xp range does not take model size or collision size or any unit property into accout, its measured from center of the dying unit to the center of the xp gaining hero.
 
Status
Not open for further replies.
Top