thats an idea, but i would place them already in the editor...
with a barrier, that nobody can comes to them, like in bscf ;)
or i make them invisible and stack them on eachother...
i will see...
THANKS for this easy solution, will prove if it will work =)))
think so
i was just...
ok, the i knew the first lines already, but i will try the last line...
so its impossible to get the UNITname, only the sourcecodename of the unittype?
thats the problem, it isnt :(
and in my opinion there have to be a connection, otherwise there wouldnt stand 001 wood is trained...
and in the object editor it isnt a specific unit too, its the unittyp and i declare the name 001 wood...
BUT IT ISNT :(:(
:nuts::banghead:
edit:
try this EASY...
thats the first problem and its solved, my second problem is, that it will be much work, cause it will be a economy map and i will have to put MANY units in there...
but i think i would handle it, now i ve another problem that ive a hashtable where are the current amounts of the ressources are...
yeah i dont think so too...
the problem exists atm...
unitname: 001 wood
unittype: custom_ h001
the 001 doesnt belong to each other, could be 001 and 010...
i want to know, if i can load the unitnamestring if the unit doesnt exist, only the unit type...
because the triggering unit starts to...
-.-
thats what i mean with loop...
and of course i would set a variable-.-
why you think my condition costs cpu power?
there are 2, because i have one unit called 001 wood
and S001 Wood
k?^^
please accept that im no mapping noob, just because im asking this simple question!?
i just...
theres only one problem...
i will have many units in this map and i dont want to set them all in this triggercondition...
theyre all have 3 numbers at the beginning of their name:
001 holz(wood)
002 stone
.
.
.
but this condition isnt working:
because the unit-type name is for...
yeah, thanks, i didnt saw this reaction ;)
think it will work now, atm im trying if its working =)
i was really wondering if there wasn´t a chance to get the trained unit type =)
THANKS...
edit:
It`s working now =)
yeah i already thought the first solution, but i need the reference for an unit, which has been started to build for another trigger, so im searching for this, in hope to get an answer to solve this problem...
maybe it could work with jass, anyone could explain me how?
could i just write an...
xD not rly, if you would see my triggers you wouldnt think so ;)
but i think i described my problem in the other post as well...
the EASIEST triggers arent working with
a unit starts to train a unit.
and thats my problem :(
if theres no reference to the unit type, i cant trigger...
you mean you buy it and after 5min it doesnt improve the stats anymore=>remove the item?
or do you mean a item with a spell which boosts the stats?=> gui/jass trigger
i havent got any time for an solution, sry
now, in my worldeditor trained unit isnt working with the "a unit starts to train a unit" :(
eg1
Ereignisse
Einheit - A unit Fängt an, eine Einheit auszubilden
Bedingungen
Or - Any (Conditions) are true
Bedingungen
(Unit-type of (Trained...
yeah, so i did something wrong in my hashtable, will could have loaded wrong :(
mhh i will see if i can get it working... ;)
its a big economy system...
and if theres sth wrong you cant see it with one view^^
thanks for the help...