Hello, first time poster. I did a search on the site and wiki and came up with nothing, so here goes:
TLDR:
I would like to know how to make an ability of a unit only usable while the unit in question is NOT cloaked.
I saw a requirement for abilities that while they are cloaked, but not while they are not.
In-depth:
I am working on a custom single player map where the majority of the work is done with 1 special unit which is modeled after the ghost.
One of the units abilities is the stalker blink, but to balance it out I would like to make it so the stalker can only blink when not cloaked.
I am also considering putting a cool-down on cloak so they cannot uncloak-blink-cloak before getting shot much. The goal is to have the player make decisions about when to blink and when not to based on tactical information available, not just whenever he pleases.
This is my greatest and current concern. I have other questions listed below but if no one can answer them now I won't be sad :P
I'd like to know if there is a way to extend this requirement to other units as well, for instance, giving the viking an ability while only in the air, or giving the siege tank while only in siege mode, etc.
The other questions I had which are much easier are:
How do you change the tool-tip wording for buttons (I swear i saw it yesterday and today cannot find it)?
How do you limit the base vision range of units on map initialization? (I'd like to have vision limited by elevation, ie cant see over cliffs, but where my ghost spawns is a cliff and he can 'see' a big circle around him which extends beyond the cliff wall.)
I didn't find any Validators for caster being cloaked, but a workaround is making a trigger that fires when ability cloak is used, which disables the Blink ability. Another trigger then fires when uncloak is used that enabled Blink ability.
For tool-tips, you have to go into Buttons and edit the button for the ability.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello, first time poster. I did a search on the site and wiki and came up with nothing, so here goes:
TLDR: I would like to know how to make an ability of a unit only usable while the unit in question is NOT cloaked. I saw a requirement for abilities that while they are cloaked, but not while they are not.
In-depth: I am working on a custom single player map where the majority of the work is done with 1 special unit which is modeled after the ghost. One of the units abilities is the stalker blink, but to balance it out I would like to make it so the stalker can only blink when not cloaked. I am also considering putting a cool-down on cloak so they cannot uncloak-blink-cloak before getting shot much. The goal is to have the player make decisions about when to blink and when not to based on tactical information available, not just whenever he pleases.
This is my greatest and current concern. I have other questions listed below but if no one can answer them now I won't be sad :P I'd like to know if there is a way to extend this requirement to other units as well, for instance, giving the viking an ability while only in the air, or giving the siege tank while only in siege mode, etc.
The other questions I had which are much easier are:
How do you change the tool-tip wording for buttons (I swear i saw it yesterday and today cannot find it)? How do you limit the base vision range of units on map initialization? (I'd like to have vision limited by elevation, ie cant see over cliffs, but where my ghost spawns is a cliff and he can 'see' a big circle around him which extends beyond the cliff wall.)
I didn't find any Validators for caster being cloaked, but a workaround is making a trigger that fires when ability cloak is used, which disables the Blink ability. Another trigger then fires when uncloak is used that enabled Blink ability.
For tool-tips, you have to go into Buttons and edit the button for the ability.