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

[General] Allowing 5 heroes, Changing upkeep from 50

Status
Not open for further replies.
Level 1
Joined
Feb 23, 2022
Messages
1
Hello,
I want to create an ffa map where players can make up to 5 heroes.
Also I want to change the food upkeep from 50 to something else.
What is the best way to do it?
Thanks
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
For Upkeep you want to go into the Gameplay Constants. You can find it in the World Editor under Advanced/Gameplay Constants. Once open, you'll see in the top left corner a checkbox which you must first click to begin editing.

It's all alphabetical so you can press U to jump to the Upkeep fields. Just click on a random field first to put the window into focus.

For the Hero Limit you'll need to use a trigger:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Limit training of Heroes to 5 for (Picked player)
Remember to use Search For Text if you're having trouble finding an Action. Just make sure to try different searches, it can be picky.

Actually, you may be able to manage the Hero Limit in the Gameplay Constants as well. Need someone else to confirm.
 
Last edited:
Status
Not open for further replies.
Top