Attack 1 Barracas 1
Events
Unit - A unit enters human barracks 1 <gen>
Conditions
((Triggering unit) is A ground unit) Equal to True
Actions
Unit Group - Order (Units in human barracks 1 <gen>) to Attack-Move To (Center of Region 018 Copy 2 <gen>)...
Well i have something in a map maybe it could help i dont really know another way to help you :p
in 10 seconds you can buy a hero and then you can shop from items anywhere from the goblin shop.
there is another shop in the bottom left, but you maybe want to remove the butchers there xD.
the...
Ups i didn't understund your question, i thought that you have a building near to the shop so you can buy items :D. Sorry.
Well you need to create a new custom ability based on select hero and then change the range of that ability to a big one and so you can select heros far away.
Hi,
To use the action: "Add unit type ... " you have to set up the tavern so it can sell units, in the object editor normal abilities add the "Sell Units".
by default the tavern dont have that ability and maybe that is the problem.
Sorry for my bad english.
C ya.
Ok here is the test:
We need a variable for the numbers of kill we called killsVictoria
First the trigger to set up the numbers of kills to 999
NumeroMuertesVictoria
Events
Player - Player 1 (Red) types a chat message containing -kills as A substring
Conditions...
Doesn't work for me :s i put it 900, 1000 and 2000 but it doesn't seem to have any effect at all :( maybe I have to set up something else?
Oh also increase the sight radius for the merchant and the circle to 1800.
Any other suggestions?
Hi,
I want to make a hero arena where the players can but items anywhere, to choose the hero’s I put a circle of power near to a tavern, and I want to use the same circle of power to buy items to the Hero so i put a shop near to the tavern too but some of the circles are to far so I want to...
Again,
Thanks for taking the time to answer this kind of nobish questions :D
Thanks
P.S.:
local boolean thisIsTrue = true
local boolean thisIsFalse = false
if(thisIsTrue == thisIsFalse) Then :nuts:
C ya
Please don't say boolean is native and boolexpr is handle :p. I want a more in deep explanation if there is one :D.
Are these types interchangeable?
Thanks.
Thanks, but that was not the problem.
I thought that every call to the function GetPlayersAll() create a new force so I destroyed to prevent memory leaks.
Anyway i replace the ForForce call with a loop for 1 to 12 and now it works properly.
The map is a hero arena, so when someone get X...
Maybe this if could help
Here is the code:
If (((Picked unit) is A Hero) Equal to True) then do (Unit - Remove (Picked unit) from the game) else do (Do nothing)
Yes is the defeat function the problem
I instaled de W3 in a second comp and i tested and even when some player won the others players are not defeated so there is a problem with the ForForce or the custom defeat, but i don't know why is not working :(
Any sugestions ?
Please :banghead:
Maybe is the CustomDefeatBJ the problem ??
It's posibly that the problem is in the Defeat function?. So the computer player actually won, but since i am not Defeated i don't realize that?
Also i found a stupid mistake in the condition :o the correct function is this:
function...