• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Position of Mouse curser

Status
Not open for further replies.
Level 24
Joined
Feb 9, 2009
Messages
1,787
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