• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Custom Targeting UI

Status
Not open for further replies.
Level 24
Joined
Aug 1, 2013
Messages
4,658
This week I started on a RPG type map with a lot of unique abilities.
The point is that I am used to very good UI and see that Warcraft 3 abilities only have very limited targeting UI.
As far as I know, there are 2 targeting UIs:

Single Target:
FuL5V1e.png

Area Target:
WoMD7f3.png


I want to have a Cone Target UI, Line Target UI, Area Target UI with a targeted unit and maybe some more.

A few months ago I saw a map where units had some of those but I cant remember what map it was.

If anyone knows how to set Targeting UI to an ability then tell me.

I prefer it without vJASS
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
Level 24
Joined
Aug 1, 2013
Messages
4,658
I am afraid you need to add it manually for every single spell.
Still HOW do I add iit to a spell?

"Next to that it would be nice if I am able to get the mouse location after all."
check the link. That's the only way unless you want to use jass + third party programs.
I said without vJASS.
I prefer JASS over GUI btw.

Can I assume that that trackable system makes a trackable in every pixel of the map and with the hover event, i can determine the location of the mouse?
If so then I doubt it will be good for my CPU and if it will work flawlessly.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
I figured a way so it will be good but I still need a few things:

I need to know the location of the mouse. (Prefer without trackables on the entire map.)
I need to know when I selected an ability. (When the UI has to appear. If possible also when I hover over the icon of the ability.)
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
I dont really care about the single target thingy.
In my opinion, it can stay there for every ability.

It seems that there is no way to detect when a player has clicked the ablity icon and so I thought of another way to go around:

What if I make an ability that is instant cast and has no effect, cost or cooldown.
Then when I click something, I cast the ability.
The biggest problem would be cooldown because the cooldown has to come on first ability when I cast the second.

I really want this to work :goblin_cry:
 
Status
Not open for further replies.
Top