Okay... I know that there are a some posts in here already that revolve around levels but my question is a bit different.
I'm making a campaign, and in this I want to have a couple of heroes. This in it self is not unusual, but the thing is: I don't want them to have the same max level. I need one hero whose max level is 5 and another whose max level is 10. This in the same map...
So my question is this: HOW?!?!?
I know the thing about going into Advanced and Gameplay Contrasts and all that... But that doesn’t help me much in this...
Please help me, by sending a mail, or answering here if you know the answer...
EVENT:
Unit - A unit Gains a level
CONDITION:
ACTIONS:
-------- Variable LevelOfHeroes is integer array with size 5 (for example for 5 heroes u have) --------
-------- Here i setted the var to the levels of all heroes --------
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
Set LevelOfHeroes[(Integer A)] = (Hero level of (Triggering unit))
-------- if Level reached then stop xp gain --------
-------- HERO 1 max level 5 --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
LevelOfHeroes[1] Greater than or equal to 5
Then - Actions
Hero - Disable experience gain for (Triggering unit)
Else - Actions
-------- HERO 2 max level 10 --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
LevelOfHeroes[2] Greater than or equal to 10
Then - Actions
Hero - Disable experience gain for (Triggering unit)
Else - Actions
-------- and so on --------
So far i didnt use the hero disable xp function so you have to test if that works. it was just an idea of me....