I'm been trying to make a periodic damage inside a timer function like this:
globals
constant attacktype AT = ATTACK_TYPE_NORMAL;
constant damagetype DT = DAMAGE_TYPE_NORMAL;
constant weapontype WT = WEAPON_TYPE_WHOKNOWS;
private unit u
private group grp...
Whenever I use this coded spell twice it doesnt deal damage, but however if I remove the line: DestroyGroup(grp);
It works normaly, how bad are group leaks? and anyone knows how to fix it? (sorry for zinc coding I just cant with vjass)
// CHANGE ANIMATION SCALING VALUE
//! zinc
library...
How can I stop a timer if a unit dies, I have tried by making another periodic timer but seens to not work very well, thanks for helping.
If you need exemple of what I'm trying to do , let me know!
How do I make something like:
somefunc takes unit u, unit attacker, real dmg returns nothing
UnitDamageTarget( u, attacker, real , true, true, AT, DT, WT)
endfunction
public otherfunc takes unit u, unit attacker, real dmg returns nothing
timer t=NewTimer()
TimerStart(t, TIME, false...
I want to cast a dummy spell whenever I attacked when I have a buff , can anyone help? its lagging a lot.
I belive its the condition on if/then/else, should I make a function or a variable for this condition?.
idk how to post with jass code window if anyone can help.
Thanks for the help.
here...
I'm having trouble connecting to other people on my Pokemon White Union Room (WI-FI), I can connect perfectly to the internet but when I try to connect to other people it just says "Name Failed To Respond" I'm getting the error 86420. I have followed all the instructions on the Nintendo website...
The longer its lasts the more reduces its frames per seconds, the effects are the same on the begging as is on the end.
Jaina Ult Arcane
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
-------- Frost --------
Set JainaLoc123 =...
When using the trigger the spell lags the game for a few seconds, what the spell is supposed to do is grant 33% of the hero's agility per charge, up to a maximum of 3 charges. It lags on the first use and then works fine after.
Maiev Passive Active
Events
Unit - A unit Starts the...
Is there anyways jass/gui/vjass to make 2 units ignore collision between themselves but not ignore collision between other units?
for instance:
Unit A ignore Unit B collision , but unit A or unit B do not ignore unit C collsion.
I tried a lot of ways of doing it , but I realy don't know if...
I want unit A to attack unit B target when unit B automatically without ordering unit B to attack.
Just a exemple.
Unit B is in "aggro" range of creep and unit B automatically attack the creep , I want the Unit A to attack the same target , can anyone help.
I almost got that with this code...
Is there anyway to play Special Effect animation whenever I create a special effect like
Special Effect - Create a special effect attached to the origin of (Attacking unit) using units\nightelf\SpiritOfVengeance\SpiritOfVengeance.mdl
Thanks for reading this.
I just can't load my map when I try to test it, is it just me?can anyone help?
I cleared almost every leak also.
It freeze at 75%ish on loading screen.
Thanks.
I made a spell with a pentagon animation with chain lightning , everything works fine , but the pentagon animation lasts forever , what's wrong here?
Thanks for the help.
Actions
Set PentCast = (Triggering unit)
Set PentCirclePoint = (Target point of ability being cast)
Set...
I'm trying to make this Water Shield to act like Lightning Shield and float around the hero but the orbs keeps increasing distance between the Hero and it goes up and down sometimes!! Please help!
Water Shield
Events
Unit - A unit Starts the effect of an ability...
Why doesn't it loop if I put the wait time in this trigger? I want the trigger to cause damage every 0.5 seconds and loop 4 times.
Jaina Spell 1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Jaina Spell 1
Actions...
Can anyone help me and tell me why this isnt working?
Wrath of Elune
Events
Unit - A unit Starts the effect of an ability
Conditions
(Unit-type of (Casting unit)) Equal to Tyrande Whisperwind
Actions
Set Caster = (Casting unit)
Set Target = (Target...
So I bought this computer that came with Windows 7, but I want it to have Windows Vista, I have the Vista CD but I don't know how to change it without having 2 Windows on my computer. Is there a way to keep the files I have on Windows 7 right now and just change it to Windows Vista? Thanks.
Can someone explain to me why it won't work?
Wave 2 A
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 12 (Brown)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If -...
I got a problem, I'm making this TD and I managed to do lvl 1 fine, but I want to start a countdown when all lvl 1 creeps die to start level 2. How can I make a trigger that only runs after all lvl 1 units die?