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

Position of Mouse curser

Status
Not open for further replies.
Level 25
Joined
Feb 9, 2009
Messages
1,800
I used this for my resource Necrotic beam.

And then use
  • Custom script: set udg_YourVariable = GetPlayerMouseX(GetOwningPlayer(udg_Yourcastingunitvariable))
  • Custom script: set udg_YourVariable = GetPlayerMouseY(GetOwningPlayer(udg_Yourcastingunitvariable))
Check my resource to see how i used it, as it is also GUI and should be easy enough to follow.
 
Status
Not open for further replies.
Top