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

Instant Unit Selection

Status
Not open for further replies.
Level 1
Joined
Feb 17, 2012
Messages
1
I'll be working on a custom combat system which requires targeting enemies by simply selecting them. I have a pretty good base to start with, but as seen in this test map I'm attaching, targeted (clicked) units still show up in your selection for a split second when immediately deselected.

I want it so that the peasant is still selected or instantly selected without showing the targeted unit's portrait, HP, MP, armor, etc., even for a split second when clicked. This will be single player, so I'm not looking for MUI or MPI. Does anyone have any method of solving this issue?
 

Attachments

  • Selection Test.w3x
    9.3 KB · Views: 54
Level 37
Joined
Mar 6, 2006
Messages
9,243
Selection events have small delay and there's nothing you can do about it.

Use this kind of trigger, but disable the peasant deselection trigger or else the game can freeze/crash.
  • Untitled Trigger 001
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Selection - Select Peasant 0000 <gen> for Player 1 (Red)
 
Status
Not open for further replies.
Top