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!
I'm making a TD shooter campaign and I was wondering how I would find the coordinates of the mouse? I'm mostly a GUI user so if it's in jass then can you explain how to implement it.
You can't, not without something like RtC. But then your map can't be played on B.NET.
The only other option would be trackables which are slow and extremely limited.
Yes, they probably used some dummy spell based on Carrion Swarm, or something. Do you notice that the cursor turns to a target when you want to create units?
o yea i tried testing the map
when you click what unit you want to make
it selects a pointer unit
then you right click
so it just uses target point of issued order
What you'll need:
- A Channel spell (search for channel if you don't know it) modified so it targets a point (with targetting image). Cooldown 0, etc.
- A dummy unit with that channel ability.
- A trigger that, whenever you need to target a point on the map, the dummy unit is selected and you use
Game - Force Player 1 (Red) to press the key E
where E is the hotkey of the channel ability.
- Another trigger that does something when the channel ability is cast. You can use Target point of ability being cast to refer to the mouse coordinates.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.