does anyone know how to do the following in a trigger
I have the integer 564 and I want to know how many times the integer 100 is in it, so the answer should be 5.
but 546 / 100 = 5,46 which is not what I want
Every time I play a custom game made by someone else, all of the values/integers created by triggers/UI are showed like this:
PARAM/value/LocalPlayer645ffdfsdfdvVfd443 (instead of just: LocalPlayer)
wich is pretty annoying, anyone knows how to fix this?
For Each Integer
Variable: Amount Of Units In Training Group
Start: 1
End: 10
Increment: 1
how does this trigger work? I want an action to be done X times, where X is the variable [amount of units in training group]. But how should I do that exactly?
I play in:
1v1 Copper
2v2 random Bronze
2v2 with Belgium guy Silver
2v2 with German Guy Platinium
and before the reset i played:
2v2 random Gold
:nuts:
I need unarmed units for my map so i can attach weapons/armor to them. but the only models I can find on the web are armed units.
anyone knows where I can find some unit model file without weapons/shields?
lets say I have a warlock and he casts firebolt on a sheep,
if I use unit - starts the effect of an ability event. when will the trigger start?
when the sheep is burned? when the is moving? And the unit starting the effect, is that the warlock or the sheep?
ty:thup:
I have two maps and they both have some custom units, but I want one map to have both so I tried to export/import. but the editor gives me a warning that when I import units all other ones will be overwritten?
help?
ty:thup:
I really have no idea why this trigger isnt giving me my gold?
Start
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Set HatcheryP1[0] = Hatchery 0002 <gen>
Player - Set Player 1 (Red) Current gold to 500
Player - Set...
I have some larva in my map which mutate (upgrades) to drones/zerglings etc. but when its upgrading it will show the build animation of the zergling, wich it doesnt have so you will just see a zergling. anyone knows how to use an excsiting animation (stand animation of egg sack) for the build...
I have to questions:
1 How to make a unit look like nothing (dummycaster)
2 Im want armor thst works similar as the armor in Starcraft so that 1 armor decreases all damage taken by 1 (not a percentage). I was using hardened skin for that with 4 levels (unupgraded and three upgrades), and the...
I need a trigger wich doubles the attack speed and movement speed when a specifc ability is cast (StimPack). But I cant find a way to increase attack speed?
A trigger to remove the effect of an abbility would also work but I dont know how to do that either.
PS: I dont use/know/have/want...
I'm trying to make a doodad that looks like a stone gargoyle, but it shows up as a normal gargoyle and ordering them to play Stand Alternate doesnt seem to work, anyone have an idea?