i totally agree with what you said!
i already mentioned it here but it is always good to know that there are others which thinks the same about this huge galaxy scripting problem. =)
thank you for your answer but that was exactly what i do not want.
it would be just silly to work with triggers,
because atm there is no way to get the armor value of a unit.
if blizz would at least give us the power to get this value i could make an own system which prevents damage with a percentage.
so my main question is, if it works without triggers - data editor...
im making an RPG map and i got a problem with the armor of units in Sc2.
while in wc3 armor prevented damage with a percentage calculation,
Sc2 armor prevents all the time just a fixed value.
so it is always better to have a high damage value otherwise the full damage will be blocked.
but i want it like in Wc3.
does anybody know if this is possible even without triggers?
and if yes, how?
if it would be just possible with triggers,
could anybody give me hints how to get the armor of a unit via triggers?
it would be a silly idea to save the armor of all units in variables which are dependent on all things which could change the armor. >.<
yeah, but i now made my own custom UI which gives me the possibility to avoid some of those slow events. =)
well anyway, this is not the best workarround...
trigger events such as "Unit - Hero Experiance Level" are extremely slow.
in wc3 events triggered instant - which was fine.
so when i there increased my heroes exp by a certain value and he leveled up,
the event trigger break into the other trigger because of the event.
and now in sc2 events are so slow,
that i need to use a wait in one of my functions to completely deactivate a trigger - otherwise he will run -.-
sry, but this is really SHIT !
well i don't want mouse lock but thanks.
i also found that follow unitgroup but i really hope that blizz will also make such a function also for a single unit - better performance. xD
well thx! :D
im working on a hack'n slay RPG which requires a view from top.
but i want my camera to follow my hero.
atm i have to use timers and pan camera action for that,
but it is not really nice imo.
blizzard said that they improved everything on the editor compared with wc3.
but THIS is definantly not an improvement,
if we always have to import files to be able to code in galaxy. -.-
well i can't really find the UnitGetPropertyInt() in GUI.
does it work?
and,... in GUI im just able to change general stats with UnitSetPropertyInt() like hitpoints or energy,
but not attributes (behaviours)! :-(
i dont know why,
but i think this wont be the last dota-project in this forum. :D
(and even much more in the whole sc2-community xD)
well,...
i just saw your terrain until now and meh.
it could be better,...
but you have got enough time to improve it! ;-)
problems:
-always the same texture -> everything seems dark
-doodads/foliage on creep! wtf?
-i don't think it is good if you just copy everything; make your own content! ;-)
thx for your answer but,
thats not really what i searched for ... :-/
so my hero has got 5 attributes.
Strength
Vitality
Stamina
Intelligence
Mind
they have got values as integer numbers.
and i just search for a function to get the value (integer) of one of those 5 attributes (behaviours) of my hero...
0
hiho,
i totally agree with what you said! i already mentioned it here but it is always good to know that there are others which thinks the same about this huge galaxy scripting problem. =)
Robbepop
0
hiho,
thank you for your answer but that was exactly what i do not want. it would be just silly to work with triggers, because atm there is no way to get the armor value of a unit.
if blizz would at least give us the power to get this value i could make an own system which prevents damage with a percentage. so my main question is, if it works without triggers - data editor...
Robbepop
0
hiho,
im making an RPG map and i got a problem with the armor of units in Sc2. while in wc3 armor prevented damage with a percentage calculation, Sc2 armor prevents all the time just a fixed value. so it is always better to have a high damage value otherwise the full damage will be blocked.
but i want it like in Wc3. does anybody know if this is possible even without triggers? and if yes, how? if it would be just possible with triggers, could anybody give me hints how to get the armor of a unit via triggers?
it would be a silly idea to save the armor of all units in variables which are dependent on all things which could change the armor. >.<
Robbepop
0
hiho,
you can define new color variables via trigger but you cannot use them as playercolors...
Robbepop
0
hiho,
yeah, but i now made my own custom UI which gives me the possibility to avoid some of those slow events. =) well anyway, this is not the best workarround...
Robbepop
0
hiho,
not really a bug, but very annoying!
trigger events such as "Unit - Hero Experiance Level" are extremely slow. in wc3 events triggered instant - which was fine.
so when i there increased my heroes exp by a certain value and he leveled up, the event trigger break into the other trigger because of the event. and now in sc2 events are so slow, that i need to use a wait in one of my functions to completely deactivate a trigger - otherwise he will run -.- sry, but this is really SHIT !
-> blizzard epic fail ...
Robbepop
0
hiho,
well i don't want mouse lock but thanks. i also found that follow unitgroup but i really hope that blizz will also make such a function also for a single unit - better performance. xD well thx! :D
Robbepop
0
hiho,
im working on a hack'n slay RPG which requires a view from top. but i want my camera to follow my hero. atm i have to use timers and pan camera action for that, but it is not really nice imo.
is there a better way to do it?
in wc3 this was VERY easy ...
Robbepop
0
hiho,
omg !
blizzard said that they improved everything on the editor compared with wc3. but THIS is definantly not an improvement, if we always have to import files to be able to code in galaxy. -.-
blizzard should think again about that.
Robbepop
0
hiho,
you could also create this with the data editor, if blizzard would add hp-reg % and would finally fix the bug with vitaly fractions ...
would be much easier ... xD
Robbepop
0
hiho,
well i can't really find the UnitGetPropertyInt() in GUI. does it work? and,... in GUI im just able to change general stats with UnitSetPropertyInt() like hitpoints or energy, but not attributes (behaviours)! :-(
Robbepop
0
hiho,
i dont know why, but i think this wont be the last dota-project in this forum. :D (and even much more in the whole sc2-community xD)
well,... i just saw your terrain until now and meh. it could be better,... but you have got enough time to improve it! ;-)
problems: -always the same texture -> everything seems dark -doodads/foliage on creep! wtf? -i don't think it is good if you just copy everything; make your own content! ;-)
Robbepop
0
hiho,
thx for your answer but, thats not really what i searched for ... :-/
so my hero has got 5 attributes. Strength Vitality Stamina Intelligence Mind
they have got values as integer numbers. and i just search for a function to get the value (integer) of one of those 5 attributes (behaviours) of my hero...
i thought it was clear enough.
mfg Robbepop
0
hiho,
i just didnt find it after hours of searching. would you be so nice and tell me how it works pls?
btw: i want to GET the values and not SET them via triggers!!
Robbepop
0
hiho,
well what the topic is about...
Is it possible at the moment to get a units attribute/behaviour/ability level or value via triggers? i need that for my custom UI...
Robbepop