• 🏆 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!

Hero system - Projet survival

Status
Not open for further replies.
Level 2
Joined
Mar 5, 2020
Messages
10
Hello,
Still on my survival map project.
I'm trying to figure out how to make 3 heroes available to purchase in 3 different shops regardless the lvl and upgrade of these shops.

Here's an example of what i want, it's the same concept in chaos survival :
- A player reaches Base lvl 2
- He unlocks 3 heroes in his 3 barracks
- When a hero is bought, he can be bought again when he's still alive
- When a hero die, he can be revived by buying him in the 3 barracks

I was thinking about multiple solutions :
1 - Making the heros available in every barrack unit at start but available only at the condition base is lvl2. Setting the limit type of hero to 1. Setting the revive option to every barrack (it doesn't work for me

2 - Adding heros by trigger in every barrack since base is lvl 2. Removing all occurence of this hero in other barrack when he's bought in a barrack and add it again in every barrack when he dies but how keeping tracks of this hero? How making the same hero able to be bought in every barrack?

What's your opinion about the best solution?
 
Status
Not open for further replies.
Top