Just wondering if you are able to actually retrieve data from a variable (particularly units) inside Hashtable - Get Handle ID. I'm new in using hashtables ... so either i'm just blind, or still inexperienced. Any ideas?
e.g.
Set x = (Load 0 of (Key (THIS UNIT VARIABLE)) from y)
Thanks :)
I remember seeing a vJass command that automatically creates 'objects' for you when you compile. I saw it in a tutorial, but I cant seem to find it anymore. I also saw it being used in one of the spells in thehelper's spell depository (I think it was Romek :confused:). Does anyone know where I...
You can try basing the spell off defend or something (I assume that your spell activates/deactivates) and creating a negative-value endurance aura targeting enemies. And then trigger it to add/remove endurance aura when defend is activated/deactivated.
Chaos Bolt
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Chaos Bolt
Actions
<Create Dummy>
Unit - Add Storm Bolt to (Last created unit)
Unit - Set level of Storm Bolt for (Last created unit) to...
Odd, made a GUI version of your spell (I don't have newgen) and it bounced. However, the 'dummy' wasn't in the air...
And removing the ability doesn't change the outcome.
local unit u = CreateUnit(GetOwningPlayer(tu), DUM_ID, GetUnitX(tu), GetUnitY(tu), bj_UNIT_FACING)//can be initialized...