• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Trigger help 2

Status
Not open for further replies.
Level 2
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