• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Level Up

Status
Not open for further replies.
Level 24
Joined
Aug 1, 2013
Messages
4,658
Event -> A unit dies
Condition -> Triggering unit is a boss...
This can be done in putting all bosses in a group

Actions ->
Pick every unit in playable map area.
- If picked unit is a hero Then
---- Hero - Set (picked unit) Hero-Level to (Hero-Level of (picked unit) + 2), Show level-up graphics
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
@unique.spectral
Please do write in the thread instead of in a PM if it concerns the problem.
If you want to say somethin that should only be seen by me then use a PM.

On-Topic:
You have to find out when a boss dies.
"If dying unit is a hero equal to true" doesn't work for that because your heroes (which you want to level) are then also counted as bosses.
The best way to do this is make an unit group (BossesGroup) and put all bosses inside that group.

Event -> A unit dies.
Condition -> Triggering unit is in BossesGroup equal to true
Actions ->
Pick every unit in playable map area.
- If picked unit is a hero Then
---- Hero - Set (picked unit) Hero-Level to (Hero-Level of (picked unit) + 2), Show level-up graphics

All those things are in GUI
 
Level 4
Joined
Jan 12, 2014
Messages
64
@unique.spectral
Please do write in the thread instead of in a PM if it concerns the problem.
If you want to say somethin that should only be seen by me then use a PM.

On-Topic:
You have to find out when a boss dies.
"If dying unit is a hero equal to true" doesn't work for that because your heroes (which you want to level) are then also counted as bosses.
The best way to do this is make an unit group (BossesGroup) and put all bosses inside that group.

Event -> A unit dies.
Condition -> Triggering unit is in BossesGroup equal to true
Actions ->
Pick every unit in playable map area.
- If picked unit is a hero Then
---- Hero - Set (picked unit) Hero-Level to (Hero-Level of (picked unit) + 2), Show level-up graphics

All those things are in GUI
BossesGroup is a valuable? if yes what is valuable type?
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
well the BossesGroup is a variable... but it is also valuable ;)
it is a unit group indeed.
when a boss is created, add it to that group
when a boss dies, remove it from the group (just performance)

I actually don't know if it automatically creates a group if the group is empty...
I think you have to make an empty group at map initialization.
 
Status
Not open for further replies.
Top