• 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.

Right-clickable ability with number icon like Santinel

Status
Not open for further replies.
Level 14
Joined
Mar 4, 2009
Messages
1,156
3 ways of solutions ....
1.)
i was wondering if there is ability with numbers like Night Elf - Santinel with number of birds available
but that ability needs to be right-clickable like auto-casting abilities

2.)
can somebody find how to detect when player clicks somewhere?
if there is a way to detect right click on ability (slot 3,2)

3.)
actions that give number icons to normal abilities

+rep for each solved way or some other if you know xD

EDIT:

ok so i see other 3 are impossible :(
-forget the mouse cursor...

4.)
is there any ability with number indicator,cooldown and target type - no target?
 
Last edited:
I don't think that there are many abilities with charges (except items but they are...items)

do you need some special type of "activation"?
all autocast spells only activate on special events (heal only heals units who took dmg, frost shield and bloodlust are casted in fights only, etc.)

if you only need 1 charge you could set the cooldown to some uber high value (shift+enter)

if you need more charges you could use a hashtable to store the number of casts for a special unit

if you need a number indicator you will need as many spells as you want it to have charges and replace abilities

Example:
you cast spell 1
replace spell 1 with spell 2
you cast spell 2
replace spell 2 with spell 3
you cast spell 3
you remove spell 3 cause you want it to have 3 charges only

of cause you can trigger the event on which the autocast ability should activate, too
you just have to make an autocast ability which never activates automatically anyway and check if a unit is issued an order like "frostarmoron", "frostarmoroff", "bloodluston" or "bloodlustoff"
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
I don't think that there are many abilities with charges (except items but they are...items)
-would be good that it is right-click able xD

do you need some special type of "activation"?
all autocast spells only activate on special events (heal only heals units who took dmg, frost shield and bloodlust are casted in fights only, etc.)
-yes i need right-click activation

if you only need 1 charge you could set the cooldown to some uber high value (shift+enter)
-no,i need 10 for each potion :(

if you need more charges you could use a hashtable to store the number of casts for a special unit
-good but im searching for number indicator

if you need a number indicator you will need as many spells as you want it to have charges and replace abilities

Example:
you cast spell 1
replace spell 1 with spell 2
you cast spell 2
replace spell 2 with spell 3
you cast spell 3
you remove spell 3 cause you want it to have 3 charges only

-tough about it before but to much icons:(
+rep for same idea :)

what im actually trying to make is + 1 bonus inventory so that you can "put" potion in inventory slot, (gives a hotkey for potion too xD )

-ability that targets item in inventory or ground is done

now i need right click able ability to make potion ability work like item in inventory slot (ability is added you target potion with ability)

-i can make it not right-clickable but with no number indicator (slow ability from sorceress or any other auto casting - no target ability)
-i can make it right-clickable with indicator (only way i know is free items)
 
Level 12
Joined
Sep 1, 2008
Messages
493
The one for the mouse is easy, just overwrite these(or if people only shall be human, just overwrite the human one:
UI\Cursor\HumanCursor.blp
UI\Cursor\NightElfCursor.blp
UI\Cursor\OrcCursor.blp
UI\Cursor\UndeadCursor.blp
 

dab

dab

Level 10
Joined
Oct 30, 2008
Messages
413

dab

dab

Level 10
Joined
Oct 30, 2008
Messages
413
Status
Not open for further replies.
Top