Hero Selection

What hero selection system should I use?

  • Hero Taverns

    Votes: 13 72.2%
  • Double Click

    Votes: 5 27.8%

  • Total voters
    18
  • Poll closed .

icond3maker

New Member
Reaction score
6
Hello, I want to know what do you like for my map...
"Hero Tavern" (via buying) or "Double Click" (via double clicking)
I am using the double click hero selection but I am having some bugs ( when a player picks a hero he can "super spam double clicking the hero" then he will get many heroes..)
When I use taverns my problem is that it is the most used hero selection system...
Vote for hero tavern or double click...
 

The Undaddy

Creating with the power of rage
Reaction score
55
I believe there is a reason hero taverns are the most used way of picking.
It works well.And so shows the vote.
 

Weyird

Member
Reaction score
5
The only advantage to double clicking is that you can see the hero stats (hp/melee/ranged/base damage/etc). Hero Taverns allow you to write that, as well as say what their abilities are, give a story, etc.
I like taking the path less traveled when I make stuff, but hero taverns are very useful, as well as simple.
 

Lord Regno

Active Member
Reaction score
19
If you want you can make a more advanced trigger. That's only allowing one hero pick with double click or a command.

I think it's tougher with double click because like Weyird said it shows stats, how the hero looks likes and so on. And it's not a problem with information leaks, you can always use game messengers.

I are making a RPG map and I have mark and command "-pick".

I can show you the trigger if you want to copy something from it.

EDIT: I recommend that you doing a hero variable array, because it will save allot of time from you and it will be easy to make triggers and you can avoid that players can have more then one hero. Just pm me for help and I will gladly help you.
 

Aniconic

I am the very model of a modern major general!
Reaction score
3
I have a 2 page dialog system for my hero selection, but its just going to be me and a few friends playing them, so I am not too worried about tooltips (would be nice tho haha).

However, I think I have a solution to your problem. You say that people can just spam your hero's and get as many as they want right? Set a limit with an if, then, else trigger.

Try making a bool with an Array, and not allowing the game to give a player a hero if the bool and its array player number of triggering player is true. If its false, give the triggering unit to player, then make the bool true for that player.

Trigger:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Player_Has_Hero[Player Number of triggering player] Equal to True
    • Then - Actions
      • Do nothing
    • Else - Actions
      • Set Player_Has_Hero[player number of triggering player] = true
      • Unit - Create 1 Footman for (Triggering player) at (Center of (Playable map area)) facing Default building facing degrees


Just an idea, hope this helps!
 

Lord Regno

Active Member
Reaction score
19
Here is one more solution:

Trigger:
  • Hero information
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Hero 0022 <gen>
        • Then - Actions
          • Cinematic - Clear the screen of text messages for (Player group((Triggering player)))
          • Game - Display to (Player group((Triggering player))) the text: Information
        • Else - Actions


How to add variables to the game?

1. Go to trigger menu then click on ctrl + b.
2. Now click on the green +X or ctrl + n
4. Name the variable to: hero
3. Then in variable menu click on U until Unit shows up. After that see under the variable menu, there it stands array turn it on.

Set this in your hero selection trigger:
Trigger:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • player_hero[(Player number of (Triggering player))] Equal to No unit
    • Then - Actions
      • -------- Add your hero creation trigger here, and add this after hero creation: --------
      • Set hero[(Player number of (Triggering player))] = (Last created unit)
    • Else - Actions
      • Game - Display to (Player group((Triggering player))) the text: You can only have o...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top