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

Shoot at mouse?

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hi! I want to know how i can make with GUI a unit to fire its weapon by clicking and then holding a button (for example - like a skill button) at the mouse of the player, without clicking it. Just point the mouse, click and hold the skill button (with a hotkey, because the mouse will point where to shoot and it woun't be able to click the skill button) and shoot, when the player releases the left mouse button - the unit stops shooting. How do i made it? Help, please! +rep for help of course! (sorry for my bad english speaking! :( )
 
Status
Not open for further replies.
Top