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

Mouse help

Status
Not open for further replies.
Level 5
Joined
Sep 30, 2010
Messages
106
Hey does any of you talented trigger guys know how to make a mouse an aim? I want to make a hero movement by arrows so I need a mouse to aim for shooting and how can I do that? I want a hero to shoot at any point wherever I press my mouse on.. how can I do that?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Except that there's no mouse-movement in that one.
I've created an FPS with mouse-movement before. The problem? Nobody can play it because Warcraft can't use mouse-events.

Maker is right: it's impossible (in the regular editor). What you linked is pretty stupid too (Wolfenstein 3D-styled movement is a tad outdated and doesn't work that great in Warcraft 3).

Short story: mouse-movement is impossible. Arrow-key movement is possible, but slow (especially in multiplayer).
 
Level 5
Joined
Sep 30, 2010
Messages
106
Except that there's no mouse-movement in that one.
I've created an FPS with mouse-movement before. The problem? Nobody can play it because Warcraft can't use mouse-events.

Maker is right: it's impossible (in the regular editor). What you linked is pretty stupid too (Wolfenstein 3D-styled movement is a tad outdated and doesn't work that great in Warcraft 3).

Short story: mouse-movement is impossible. Arrow-key movement is possible, but slow (especially in multiplayer).

yeah but can you guys teach me how to make that style of shooting? I mean like in the video..

thanks for the answers by the way :goblin_good_job:
 
Level 5
Joined
Sep 30, 2010
Messages
106
oh and actually can I attach a catapult's attack thing to a cursor?
I mean if I give a hero that catapult's marking the location attack powers, can I attach that to an ordinary mouse click instead of a letter? that way he can shoot where I will click mouse..
 
Level 14
Joined
Jul 12, 2011
Messages
1,371
In this video it is done via arrow movement.
You could use this as a movemet http://www.hiveworkshop.com/forums/...em-148930/?prev=of=downloads_month&order=DESC.
Combine some actions:
(for exaple manipulate that actions:
  • Cam
    • Events
    • Conditions
    • Actions
      • Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
      • Camera - Set Player 1 (Red)'s camera Distance to target to 0.00 over 0.01 seconds
      • Camera - Set Player 1 (Red)'s camera Angle of attack to 0.00 over 0.01 seconds
Something like that.)
For mouse attack create a dummy unit that attacks the specified area that you right click
  • Unit - A unit Is issued an order targeting a point
:wink:
 
Status
Not open for further replies.
Top