how can i make an event like this?
i was planning to use it in my skill called 'frost aura' which should be like this:
Trigger1:
E: unit learns a skill
C: skill = Frost aura
A: set X(unit) = learning hero
Trigger2:
E: (unit comes near X(unit)) <- this is where i need it
C: unit = enemy
A...
how to do these things:
1)ItemX can only be sold to HeroX, if buying hero isn't HeroX item cannot be sold
2)Item in shop will only be shown if a specific hero is in game
,well i actually changed it a little bit from the main idea, but still works the same, (for me)
,as i first said, when a unit acquires itemX, one of his skill will be changed permanently, (but i didnt change the skill here ~_~)
,in my case, its a summon skill that will summon a water...
,how can i trigger this??
-------
,when a hero acquires an item(undroppable), one of his skills will be changed permanently
,i tried using these actions but doesnt work,
-add ability, remove ability, set level . . .
-------
thnx for any help
*ALREADY SOLVED*
this is what i did:
doesnt lag for me
----------
EVENT
>a unit starts the effect of an ability
CONDITION
>ability being cast = entangle1 (note: AoE targets a point)
ACTION
>set Caster = triggering unit
>set PointX = target point of ability being cast
>pick every unit in range...
,yeah, just like what i said in the first post of this thread, 522 is just the maximum speed that u can put,
,aniway, i havnt tried using the set unit move speed in the action trigger yet, ill try it when i got home . . .hope it'll work :)
aw, well then my first trigger is right, actually those actions below the pick evry unit is inside the loop :) thats why i put ">>>", sorry if u ddnt undrstand that one
like this?:
------------
EVENT:
>hero starts effect of ability
CONDITION:
>EntangleA = ability being cast
ACTIONS:
>set Caster = triggering unit
>set pointX = target point of ability being cast
>pick every unit in 200 range from pointX
>for each int from 1 to number of picked units
>>>if picked...