Hi,
I need to find some suitable ability for my hero. I already have 2 spells.
dIjBSYDBHWg
Sleeps target unit and everyone else is pushed away.
rw5NVZTCiOE
Grabs and toss unit.
Abilities should work together, doesn't matter if they are active/passive/autocast/whatever.
Easy way to...
Hi,
Is is possible to increase (or decrease) armor by decimal number (0.5 for example) with spell or with some orb effect (like corruption)?
I tried Acid Bomb, but it requires integer ...
Hi,
So basically all IDs (unit ID, ability ID) are integers. But they look like:
'A000' or 'h001'
How can I convert "normal" decimal integer to this type of integer?
Hi,
Is there any way to get current state of Formation movement?
I mean this button:
I need event when player clicks on it or some function returning current state.
Is is possible? Thanks.
1)
local timer i
local integer id = GetHandleId(i)
Now I have id of handle i.
Is there any way to get a handle from ID, some inverse function?
2)
local handle h
local timer t
Is there any way to convert h to t?
Hi again,
In my map I have spell that makes a dummy unit to cast chain lightning.
Another spell returns damage back to its source (something like Blade mail in DotA).
If I return damage to damage source, it will damage dummy unit instead of spell caster. How to fix it? Any ideas...
Hi,
Is there any way to hide / kill / remove unit only for one player (using GetLocalPlayer) ? I create a dummy unit with some explosion model and I want it to show only for specific player.
I tried to just hide it like this:
if (GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit())) then...
Hi,
I need some spell ideas for my Blademaster hero. He is an agility / DPS / killer type of hero (no magician).
Any ideas?
Easy way to earn +rep :D
EDIT: It is a hero for Hero Arena map.
Hello,
I have one simple question:
There is a lag in my map when I use call UnitAddAbility(GetTriggerUnit(), 'A002') in my spell trigger for a first time ('A002' is endurance aura).
Why and is there any way to fix it?
Thank you for answers.
Hi,
I am trying to learn how to use hashtables, but I am confused. Hashtable functions are not in the function list in NewGen so I can't find out what are their parameters and return types and so on.
So, my questions:
1) How to use function SetHandle?
2) What does function H2Tx do?
3)...
Hi,
I just installed NewGen, opened WE and run empty map.
But this error appeared:
wehack.lua:437: attempt to index global 'rtc_enabled' (a nil value)
I can't where is the problem.
Anyone helps me?
Hi,
I searched but haven't found the answer.
If I buy the item, "Unit - A unit Sells an item (from shop)" event is executed.
But how to detect that I tried to buy an item but failed, becaues I had full inventory? Is there any way how to do that?
Thanks for answers.
Hi,
I have a strange problem.
The model of my hero has attack animation for melee attack and for range attack.
So when my melee hero picks up a bow, he becomes range.
I use Chaos ability that changes him to a same unit, but with 600 range. All range attacks of that units have animation name...
Hi, i have another small question.
Trigger
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Some_Ability
Actions
do something with Triggering unit
Wait 1.50 seconds
do something with...
Hi,
I need an ability that adds bonus hit points, nothing else. But I can't use Item Life Bonus, because this ability is unlevelable.
Anybody knows the solution? I don't want to add strength, just hit points.
+rep to anybody who helps.
Hi,
if I use
Animation - Play (Triggering unit)'s walk animation
and then
Unit - Move (Triggering unit) instantly to (Temp_Point),
the animation is set to "stand". Why? Is there a way how to play unit's walk animation and move it by trigger?
Hi,
I try to make an ability that adds some damage to every attack if it is set to auto-casting. However, it doesn't work :banghead:
I based it on Black Arrow ability and checked if damaged unit has some buff. But Black Arrow places buffs on damaged unit also if it isn't set to auto-cast...