Alright, im not sure if this is going to work..as ive really never done anything like this before..just taking a guess..but something like...
Code:
Actions
Set Player = (All players controlled by a User player)
Player Group - Pick every player in Player and do (Hero - Make (Picked player) Heroes gain 0.00% experience from future kills)
Put this under your initialization trigger
And then create a new trigger.
Code:
Melee Initialization
Events
Unit - A unit Dies
Conditions
((Killing unit) is A Hero) Equal to True
((Killing unit) belongs to an ally of Player 1 (Red)) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Dying unit)) Equal to Footman
Then - Actions
Unit Group - Pick every unit in (Units within 1500.00 of (Position of (Killing unit)) matching (((Owner of (Killing unit)) is an ally of Player 1 (Red)) Equal to True)) and do (Hero - Add 3 experience to (Picked unit), Show level-up graphics)
Else - Actions
Do nothing
Try it out, if it doesnt work, report back and ill try a different way...i just couldent find any good info on the subject so at the moment im not sure which direction im supposed to head with this.
Edit : You can still try that out..however somehow i feel like im completely wrong..lol take a look at this..
http://www.hiveworkshop.com/forums/spells-569/rpg-systems-pack-103406/?prev=search%3DRPG%26d%3Dlist%26r%3D20