Does anyone know how much RAM a global hashtable takes up? Because if it's an array representing 2.1 billion (about the possible range of an integer) * 2.1 billion handles in a table, that's 4*10^18*4 bytes (because the hashtable would store a pointer to the handle in question, i.e. an...
Hello,
There seems to be a problem with my function corrosive acid. Every time, and on different computers (at first I thought it was a ram problem on my old computer) when the buff for corrosive acid should be removed there comes a fatal error. Warcraft closes and the message I get is: fatal...
I have two related questions.
1st: Do triggers which are triggered when something related to a specific unit happens get destroyed when the specific unit gets destroyed? I'm talking about TriggerRegisterUnitEvent and TriggerRegisterUnitInRange. I mean obviously (hopefully) the trigger won't...
Could somebody please tell me what is wrong with this? It's obviously not finished. ^^ But what's wrong with what there is? Many thx.
function ToxicGasBuff takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(), 'A02N')
endfunction
function InitTrig_ToxicGas_Buff takes nothing...
Hello,
I just recently learned Jass (i'm still a noob at it) and I have a few questions on Mui in Jass. So let's start from the premiss that nothing truly happens at the same time in Wc3, if you go into micro or 10^-1 micro seconds (the scale of a computer). From what I read local variables...
Could anybody tell me what is wrong with this?
function VenomSplash takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1, 'h00Z', GetOwningPlayer(GetAttacker()), GetUnitLoc(GetEnumUnit()), GetUnitLoc(GetEnumUnit()))
call UnitApplyTimedLifeBJ(1.00, 'BTLF'...
Does anyone know what the ward unit for the Abo plague ability does? There are 3 things involved in the ability. The plague (I don't remember the exact English name) ability on the abo which apparently summons a plague ward (balise in french). The plague ward lasts 10s and has an ability similar...
Hello,
I have a question, or several regarding automatic abilities, i.e. abilities that you can activate by right-clicking the ability.
It is not difficult to create triggers and stuff to make a unit use its ability when you want. But first of all is there a trigger detect event that...
Why doesn't this work? The editor keeps telling me "incorrect argument (void)" for the line which I highlighted below. When I delete it, the same message comes up but for // Level Info. ????? I tried using the haha_Attackers function instead, to do it exactly like the script when you create a...
Hello,
Does anyone know how the call SetUnitState( unit, UNIT_STATE_MAX_LIFE ) native function works? Or how can you change the max life of a unit, other than with upgrades (like upgraded masonry)?
Hey everyone,
A question to which I'm sure there is a quick answer. I have a timer which sometimes expires and sometimes not.
When I destroy my timer window when it hasn't expired, it seems that the timer keeps running and the trigger which has "timer-expires" as its event still triggers...
Hello,
I want to make a spell which acts exactly like flame strike (dmg, AoE cast, etc) but where the casting unit throws a fireball (projectile like troll priest, archmage, etc) at the target point before the art, effects of flame strike start. Here is the trigger I tried but it doesn't work...
Hello,
Why does this trigger not work to close a door once it´s been opened?
Event: every 1 s of gametime
Conditions:
Actions: pick every unit in (region in front of door) and do (multiple actions)
Add picked unit to (unit group variable=frontdoor)
If, then, multiple...