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

Few issues

Status
Not open for further replies.
Level 12
Joined
Dec 2, 2016
Messages
733
#1) My level upgrade trigger doesn't work.

  • LvlUp
    • Events
      • Unit - A unit Finishes research
    • Conditions
      • (Researched tech-type) Equal to Vampiric Level Upgrade
    • Actions
      • Hero - Set (Triggering unit) Hero-level to ((Level of (Triggering unit)) + 1), Show level-up graphics

And I have like 12 purchaseable upgrades. It doesn't show them all, I've seen in other games you can make seperate pages to access for different sections. Ideally I'd like to have one page for gold upgrades, and another for lumber upgrades. How can I achieve that?
Gyazo - 88a6761c829ba4a170f911d618b0976b.jpg
 
Level 15
Joined
Jul 9, 2008
Messages
1,552
well the triggering unit is not your hero its the building doing the research what u want is

  • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) Equal to (Owner of (Triggering unit))) and (((Matching unit) is A Hero) Equal to True))) and do (Actions)
    • Loop - Actions
      • Hero - Set (Picked unit) Hero-level to ((Level of (Picked unit)) + 1), Show level-up graphics
NOTE: the this trigger leaks a unit group

for the different pages you actually use 2 different units selling the researches for each page and have a dummy ability that will swap the 2 buildings with triggers
 
Level 12
Joined
Dec 2, 2016
Messages
733
well the triggering unit is not your hero its the building doing the research what u want is

  • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) Equal to (Owner of (Triggering unit))) and (((Matching unit) is A Hero) Equal to True))) and do (Actions)
    • Loop - Actions
      • Hero - Set (Picked unit) Hero-level to ((Level of (Picked unit)) + 1), Show level-up graphics
NOTE: the this trigger leaks a unit group

for the different pages you actually use 2 different units selling the researches for each page and have a dummy ability that will swap the 2 buildings with triggers


Thanks, so if I have the dummy ability swapping pages. Will there be any noticeable onscreen change? Like will it be noticeable when the buildings swap, will there be a empty space for even a millisecond?
 
Status
Not open for further replies.
Top