Hi, i need help i need with the trigger i want to make an -ap command. its currently -ar i want it so that when blue types -ap it shows up the heros in the tavern but if blue doesn't type -ap it just stays the same and the question mark will still be there HPMM=THecash
The way I would do that is pretty easy, just make 2 taverns 1 that just sells the random heroes and one that is ap heroes, when the player types -ap have a trigger that replaces the starting tavern of random heroes with the tavern with the ap heroes.
Code
AP Heroes Events Player - Player 2 (Blue) types a chat message containing -AP as An exact match Conditions Actions Unit Group - Pick every unit in (Units of type Tavern Random Heroes) and do (Actions) Loop - Actions Unit - Replace (Picked unit) with a Tavern AP Heroes using The old unit's relative life and mana
Added (2011-12-15, 8:39 PM) --------------------------------------------- Vex Still that doesnt work beacuse If i Dont type anything the -ap tavern will still be there
like don't place it in the map, just make the unit. Is this your first map?
thats not a real question, is it? anyways... u need to keep the question marks shops on the map and the trigger will replace em with the taverns where u can pick skills... read a tutorial of the editor if u know that few about it maybe in a few years, or in another life, u will be able to claim u made a replica of chf again cya then