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

Trigger help 2

Status
Not open for further replies.
Level 3
Joined
Oct 18, 2008
Messages
13
Hi

I need another help for my campaign, I would like to know how do you stop your player to gain level after level 8 because when I use the trigger:

Event
A unit gain a level
Condition
Triggering unit is Orange
Level of levelling hero is greater than or equal to 8
action
Disable expérience gain for triggering unit

It doesn't work, my heroes stop gaining experience right after the first level up.

Please help ^^
 
Level 3
Joined
Oct 18, 2008
Messages
13
No, that's not what I want
I've got 3 heroes, one is level 10 and the two others are level 4. The level 10 won't gain XP anymore but I want the two others to stop levelling at level 8
That's why It don't work.
 
Level 14
Joined
Jul 1, 2008
Messages
1,314
  • Events
    • Unit - A unit gains a Level
  • Conditions
    • (Level of (Leveling Hero)) greater than or equal to 2
    • (Leveling Hero) Equal to Paladin 0000 <gen>
  • Actions
    • Hero - Disable experiance gain for (Leveling Hero)
 
Level 3
Joined
Oct 18, 2008
Messages
13
when I use the trigger:

Event
A unit gain a level
Condition
Triggering unit is Orange
Level of levelling hero is greater than or equal to 8
action
Disable expérience gain for triggering unit

It doesn't work, my heroes stop gaining experience right after the first level up.

It doesn't work, they just go to level 5 and stop
 
Level 11
Joined
Oct 20, 2007
Messages
342
go to Advance -> gameplay constant -> hero Xp gained -> Creep Reduction Table
delete the 0 value

what is that?
that is a creep exp modifier
there got many integer there, 1st integetr for level 1 unit;2nd for level 2 unit and so on.
the calculation something like:
Experience gained = "Previous value" * "Previous value factor" + "Level" * "Level factor" + "Constant factor" for more detail visit this
so the fifth value = 0
so ur hero get no exp if ur hero level higher than 5
 

Attachments

  • exp.jpg
    exp.jpg
    15.2 KB · Views: 84
Status
Not open for further replies.
Top