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

[Solved] Non-Immortal Heroes

Status
Not open for further replies.
Level 2
Joined
Mar 26, 2016
Messages
5
Looking to design a system for a map with the following:
-Limit 1 Hero per Player
-Hero is removed when killed
-Hero is re-trainable from Alter/Tavern (new hero at level 1)
-This works indefinably (this is where I am primarly struggleing)

I have been able to get various pieces working together, but not all together on the map.

Any thoughts, designs welcome.
Thanks,
-MrGsqrd
 
Level 21
Joined
Apr 12, 2018
Messages
494
Event
- A unit becomes revivable

Conditions
- Revivable Unit is a Hero Equals to True (not sure this is strictly necessary, but it doesn't hurt)

Action
- Remove Revivable Unit from the Game


That's a pretty basic way to get rid of a Hero.
 
Level 2
Joined
Mar 26, 2016
Messages
5
I got the issue resolved, Thank you @Razorclaw_X for the assistance.
I had something similar, but your event/condition makes more sense logically, I shouldn't overwhelm the trigger this way.

I needed to force the Limit of Hero's to be 1 at the map initilization, then I created a variable for the Hero's trained (Player1Hero)
then every death I add one to the variable and set the new hero limit to that variable.
 

Attachments

  • Hero Limits.PNG
    Hero Limits.PNG
    18.6 KB · Views: 23
Status
Not open for further replies.
Top