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

Click-to-attack

Status
Not open for further replies.
Level 1
Joined
Aug 9, 2009
Messages
275
The title is almost self-explaining. I'm not very good at the GE triggers and such, as i haven't sat down and checked it so much. But anyway, anyone got an idea of how to make a Click-to-attack system?

Thanks to anyone who will respond on this thread
 
Level 3
Joined
May 6, 2008
Messages
28
Events
UI - Player Any Player clicks Left mouse button Down.
Local Variables
Conditions
Actions
Unit - Order Unit to ( Attack targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)
 
Level 1
Joined
Aug 9, 2009
Messages
275
Events
UI - Player Any Player clicks Left mouse button Down.
Local Variables
Conditions
Actions
Unit - Order Unit to ( Attack targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)

That seems easier then i first thought. Thanks for the help +rep
 
Status
Not open for further replies.
Top