• 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
I post here because for the first help I didn't saw this topic for Trigger problems :

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 ^^

PS : AND I need the maximum level limit for heroes to be 15 so don't say "just go to game interface : heroe max level"
 
Level 9
Joined
Jan 23, 2008
Messages
384
Hmmm i think that is pretty simple ... but first of all the trigger i write down might have leaks because i do not have the war 3 editor opened so here we go:

  • Your trigger
    • Event
      • Unit - A unit gains a level
    • Condition
      • (Triggering unit) is owned by player 1 Red
      • Level of (Triggering unit) is equal to 8
    • Action
      • Hero - Set experience gain for (Triggering unit) to 0% of normal experience gain
This is it ! if you do not understand this, tell me and i will make a correct one using the war 3 editor ... :thumbs_up: ... this may have minor type mistakes
 
Status
Not open for further replies.
Top