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

User-controlled hero gains 0 EXP when allied computer-controlled unit kills enemy ?

Status
Not open for further replies.
Level 30
Joined
Nov 29, 2012
Messages
6,637
As far as I know this is present already when making a map, go to Gameplay Constants and find Hero XP Global Distribution then set it to True so you will gain EXP through other player kills on enemies and false to disable the distribution.

I do think this is what you need? By the way, your title seems to be confusing or somehow misleading due to how different your question on the title and at the main content.
 
Level 5
Joined
Feb 1, 2009
Messages
111
Im sorry to confuse:

Allies:
Player 1 Red - User Controlled
Player 2 Blue - Computer Controlled

Enemy:
Player 12 Brown - Computer Controlled

If Blue unit kills Brown unit, Red Hero doesn't gain any experience. (I set XP Global Distribution on).
 
Level 5
Joined
Feb 1, 2009
Messages
111
Global distribution is ON (I want to gain experience when Player Blue - Computer kills an enemy unit).

Also, my hero is near the dying unit and the killing unit... still no experience gained.

A second problem I'm having is finding the location in world editor to change the range for gaining experience from units killed by an ally.

Fixed it:

Building Kills Grant XP - True
 
Last edited by a moderator:
Status
Not open for further replies.
Top