Hello i am making a map like Castle Defense with heroes and i want creeps to give very few experience coz i got to lvl 10 in 1 wave :| how can i change the exp gain and where ?
This is easyer with a Trigger, you start the trigger when a unit dyes, the check if the killer is a hero (no exp for creeps ). Then you have to give a X number of experience to the hero according to the wave numer, first, second, third, etc.
So, in the trigger you made for waves creation, just add a variable set to increase with every wave (Set Variable - "Wave" = "Wave" + 1)
Then you just calc, the amount of exp needed for the hero to pass each lvl. for example "lvl 1 requiers 500 exp", and divide it for all the creeps.
The "exp giver" trigger for 500 exp with 5 creeps, will be something like this:
Event - An unit dies
Condition - Killing unit is a hero
Action - Hero - Add ("wave" x 100) experience points to Killing Unit
Experience is controlled by the Gameplay Constants, under the Advanced Menu. If you want to trigger experience gain, set all the respective fields to 0, then just add experience to heroes via triggers.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!