• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Set skill to cooldown state [Very Difficult Question]

Status
Not open for further replies.
Level 11
Joined
Oct 20, 2007
Messages
342
Problem
i have two skill
like example skill 1: Blink with shortcut key "R"
- skill 2: Blink with shortcut key "T"
When i cast blink with R, i want set blink with T into cooldown state,
same as i cast blink with T, blink with R have to set into cooldown state.

I want 2 skill with same effect, same cooldown, and different shortcut key.

-Any way to set the skill in cooldown state?
-Any way to set share cooldown group like item ability?
-Any way to change the shortcut key by trigger?
+Or any way can set the skill incooldown state? like order him to cast?

i have try to order him to cast.
example, skill Blink with shortcut key "T" have no effect.[Make from channel]
when he cast "T", order him to cast blink with shortcut key "R"
When cast "R", order cast "T"
But i have 60 skill in a hero, i can't find up 120 order string for him....
So anyway to solve this?

I want 2 skill with same effect, same cooldown, and different shortcut key.
 
Level 11
Joined
Oct 20, 2007
Messages
342
that what i m try but fail,
i want is:
-Any way to set the skill in cooldown state?
-Any way to set share cooldown group like item ability?
-Any way to change the shortcut key by trigger?
I want 2 skill with same effect, same cooldown, and different shortcut key.
 
Level 2
Joined
Dec 23, 2007
Messages
23
i might be wrong... but there are 2 different ids for blink?
Try using the bear's blink for one and the hero's blink for the other... might work...

if it doesn't... the last time i tried this in my own map to stimulate a blink effect...
I used the summon serpent ward ability...
I made the serpent ward invisble to the naked eye and without any shadow and flying (to prevent blocking)...
I also made the serpent ward had the "locust" skill with 0.01 seconds timed life...
Next, i used a trigger that "move instantly casting unit to position of spell being casted" everytime i finish casting the serpent ward ability...
next i change the effects of the summon serpent ward and cooldown and range n other stuff...

u could also explore other skills (not necessary have to be serpent ward) that targets a point (eg shockwave?)... just choose a no-delay skill should be ok
u could copy n paste the blink effects onto ur "2nd blink" skill

hope this was helpful.... ^^
 
Level 2
Joined
Dec 23, 2007
Messages
23
opps... read wrongly there... lol... anyway... ya... what UreDe4D said probably would work... no point me repeating him ^^

You could also use a trigger to prevent a hero from casting a spell lets say blink A if blink B was cast by putting an annoying "command casting unit to stop" for a certain amount of time... but then it wun reflect on ur skill as cooldown... so UreDe4D method is probably better...
 
Level 11
Joined
Oct 20, 2007
Messages
342
well, base them on the same skill (e.g. bear blink), it should put the second one on cooldown if you use the first one
i have try but it can't work,
i upload a map, is that u mean?



opps... read wrongly there... lol... anyway... ya... what UreDe4D said probably would work... no point me repeating him ^^

You could also use a trigger to prevent a hero from casting a spell lets say blink A if blink B was cast by putting an annoying "command casting unit to stop" for a certain amount of time... but then it wun reflect on ur skill as cooldown... so UreDe4D method is probably better...
Yeah there is a way, but i have 56 skill on a hero,
and 10 hero are same and control by all player.
Its too hard to make it in MUI and every skill for a timer....
And it show not really good.
My map is already complicate to really how to play,
by the way will make the map more complicated for beginner.
 

Attachments

  • Like this.w3x
    15.7 KB · Views: 54
Level 12
Joined
Aug 18, 2006
Messages
1,193
well, if you still have problems, try this

make a Timer that lasts as long as the cooldown. Now, uppon casting either of the abilities, Disable the other one for the player(or remove it if several units shall have the same) and start the timer. When the timer ends, Enable / Give back the ability
 
Level 11
Joined
Oct 20, 2007
Messages
342
well, if you still have problems, try this

make a Timer that lasts as long as the cooldown. Now, uppon casting either of the abilities, Disable the other one for the player(or remove it if several units shall have the same) and start the timer. When the timer ends, Enable / Give back the ability
i have said that i have 56 skill in a hero, but sry i din't notice this:
the hero skill hiding by disable it,
so you meet my condition i will enable it.
so it could disable and enable freely.
So i think the way to solve my is set the skill into cooldown state.



Just use 2 channel's, and then when your unit starts casting 1, add blink 1 to him, and then make him cast it on that location.
I have try it, but some skill won't work.
i having a 1st test on chain lightning.
Let skill A to be chain lightning, skill B to be channel.
trigger wrote:
when start effect of skill A, then cast B
when start effect of skill B, then cast A
but when casting the skill A, trigger work
order to cast second skill, then skill have no effect on it...
but cast skill B is work correctly....

I have try to wait 0.01 after cast, but it get ugly(have 2 skill icon shown),
buggy(It possible to been cancel by player with a single button S to stop) and
affect the animation, movement, and cast time (Double casting animation).


Conclusion: this way can't work for all type of skill or need other guardian trigger?
Type of skill available:
Instant no target.
Target unit
Target unit
point target
with delaying effect after cast (e.g. flame strike) <This not so important, can be solve>


"If the trigger can't work in channeling skill that nvm :xxd:"
 
Status
Not open for further replies.
Top