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

Unit control

Status
Not open for further replies.
Level 1
Joined
Jun 15, 2009
Messages
1
Can anyone help me figure out how to make a unit move, not by right clicking a location, but by pressing keys? Like how movement in fps games is. Is this even possible?
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
Can anyone help me figure out how to make a unit move, not by right clicking a location, but by pressing keys? Like how movement in fps games is. Is this even possible?
Al ot of thins are possible in WE but that one you want is lame.....
use events
EVENT
player 1 presses left arrow
-----repeat for other players-----
ACTION
set UNITGROUP = units selected by triggering player
pick every unit in UNITGROUP
order picked unit to move <left>
call DestroyGroup(udg_UNITGROUP)
 
Status
Not open for further replies.
Top