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

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