- Joined
- Jun 16, 2008
- Messages
- 1,939
Hi I am working on my new map and just started with the first hero! since i am to dumb to use jass and I don't use to be an expert on GUI I just can't help this trigger!
I use a windwalk wich also gives a passive transperency. But everytime i cast windwalk the transeperency effect gets lost after the duration of the skill expires. So in fact i tried to re-add the effect after each use....and it doesnt work.
Need ur help!!
Here is the trigger:
but it vanishs when i cast shadow walk.
so i made this additional trigger:
it doesnt work either...
hope u can help me
I use a windwalk wich also gives a passive transperency. But everytime i cast windwalk the transeperency effect gets lost after the duration of the skill expires. So in fact i tried to re-add the effect after each use....and it doesnt work.
Need ur help!!
Here is the trigger:
-
Shadow Walk
-
events
- unit - A unit learns an ability
-
conditions
- (Learned Hero Skill) equal to Shadow Walk
-
actions
- Animation - Change (Learning Hero)'s vertex coloring to (100.00%, 100.00%, 100.00%) with ((Real((Level of Shadow Walk for (Learning Hero)))) x 20.00)% transparency
-
events
but it vanishs when i cast shadow walk.
so i made this additional trigger:
-
Shadow Walk Transperency
-
events
- unit - A unit starts the effect of an ability
-
conditions
- (ability being cast) is equal to shadow walk
-
actions
- Set temp_caster = (Triggering unit)
-
events
-
[first i did it with another trigger wich activates after this so i stored triggering unit in a variable. i dont have to do this in this trigger, i know ;)]
- Wait until ((temp_caster has buff Shadow Walk ) unequal to True), checking every 0.10 seconds
- Animation - Change temp_caster's vertex coloring to (100.00%, 100.00%, 100.00%) with ((Real((Level of Shadow Walk for temp_caster))) x 20.00)% transparency
- Custom script: set udg_temp_caster = null
it doesnt work either...
hope u can help me