How do i limit max heroes?!

ID-MINI

New Member
Reaction score
0
Im confused with it. im new to world editor. all i need is that and my map is no longer a beta please help me ive tried many ways. i just want to make it to where after u train 2 heroes you can train anymore please show me what to do. Ive looked at other posts like mine but no help. i just want a step by step thing to do made for a newbie to it. :confused:
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Download a dota template. Here is one I found. There is a trigger that limits you to only be able to pick 1 hero.
Don't make the same thread twice. The admins are serious about their rules. Hope I helped you...
 

Nat4ku

New Member
Reaction score
0
Hey. I found how to fix your problem, go into trigger editor (F4) create a new trigger and do that :

Event : Map initialisation
Condition : /
Actions : Player - Limit training of Heroes to 2 for Player 1 (Red)

If you want that for multiple players, just use a loop ^^
 

ID-MINI

New Member
Reaction score
0
i did that but it didnt work i did. game initial then i did play group then i did loop then i did limit to 1 for all players.
 

Sui-cookie

You can change this now in User CP.
Reaction score
49
Also you could set the requirements for a third hero (in the object editor) to something that doesnt exist, like a farm called "YOU TO GTFO MY KITCHEN" so that after two hero's it would say
requires:
-YOU TO GTFO MY KITCHEN
 

Sevion

The DIY Ninja
Reaction score
424
That doesn't make any sense... You posted the second thread 1 minute after the first one... This is a forum, not an instant messaging conversation.
 

ID-MINI

New Member
Reaction score
0
what the heck i did? i didnt kno... sorry im new to it. i just joined to ask about this. is there any way i can delete it?
 

Sevion

The DIY Ninja
Reaction score
424
No, only a moderator or administrator can do it. Don't worry about for now. Just try not to do it anymore. At any rate, we're way off topic.
 

ID-MINI

New Member
Reaction score
0
normally i would do somthing like make a farm and name it no more heroes but i have more then 1 hero so it wont work.
 

feelingparty

New Member
Reaction score
3
Yes, infact the simplest thing you could do is do it with food. At the beginning set each player's food cap to 2 and in the object editor find "food cost" and set it to 1. This would only work though if none of your normal units use food. Also make sure no units produce food otherwise the limit would get spoiled. You can also change the message that appears when trying to produce more than 2 heroes. Go to Advanced > Game Interface and find Text - Message "Build more farms" , click "Use Custom Game Interface" and change it to something like "Can't Produce more than two Heroes". Also go to "Sound - No Food" and change it to Error Message.
 

ID-MINI

New Member
Reaction score
0
i thought of that already but im thinking of changing it. i may actaullly do that cause i hate triggers.
 

ID-MINI

New Member
Reaction score
0
i did it the lazy way and did the popullation thing cause i hate triggers with the passion. thank you all of your help.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Sunday!
    +1
  • The Helper The Helper:
    I will be out of town until Sunday evening
    +1
  • The Helper The Helper:
    I am back! Did you miss me LOL
    +1
  • jonas jonas:
    where did you go?
  • The Helper The Helper:
    Jefferson TX on a Paranormal Investigation of a haunted bed and breakfast - I got some friends that are paranormal investigators and they have an RV and do YouTubes
    +1
  • The Helper The Helper:
    It was a lot of fun. The RV was bad ass
  • jonas jonas:
    That sounds like fun!
    +1
  • The Helper The Helper:
    it was a blast!
  • The Helper The Helper:
    I am going to post the Youtube of the investigation in the forums when it is ready
    +1
  • jonas jonas:
    cool!
  • vypur85 vypur85:
    Sounds cool TH.
  • tom_mai78101 tom_mai78101:
    I was on a Legend of Zelda marathon...
  • tom_mai78101 tom_mai78101:
    Am still doing it now
    +1
  • jonas jonas:
    which one(s) are you playing?
  • jonas jonas:
    I played a little bit of the switch title two weeks ago and found it quite boring
  • The Helper The Helper:
    just got back from San Antonio this weekend had the best Buffalo Chicken Cheesesteak sandwhich in Universal City, TX - place was called Yous Guys freaking awesome! Hope everyone had a fantastic weekend!
    +1
  • The Helper The Helper:
    Happy Tuesday!
  • The Helper The Helper:
    We have been getting crazy numbers reported by the forum of people online the bots are going crazy on us I think it is AI training bots going at it at least that is what it looks like to me.
  • The Helper The Helper:
    Most legit traffic is tracked on multiple Analytics and we have Cloud Flare setup to block a ton of stuff but still there is large amount of bots that seem to escape detection and show up in the user list of the forum. I have been watching this bullshit for a year and still cannot figure it out it is drving me crazy lol.
    +1
  • Ghan Ghan:
    Beep boop
    +1
  • The Helper The Helper:
    hears robot sounds while 250 bots are on the forum lol
  • The Helper The Helper:
    Happy Saturday!
    +1
  • The Helper The Helper:
    and then it was Thursday...
    +2

    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