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

[General] How to deseclect unit through trigger?

Status
Not open for further replies.

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
How to deselect unit through trigger?

Hi guys. If I want to make a player cannot select a unit.
I make an event "Player select a unit" but I dont know how to make him deselect it. Can someone help me plz? (Dont use Locust btw :ogre_hurrhurr:)
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
Hi guys. If I want to make a player cannot select a unit.
I make an event "Player select a unit" but I dont know how to make him deselect it. Can someone help me plz? (Dont use Locust btw :ogre_hurrhurr:)

  • Selection - Remove (Triggering unit) from selection for (Triggering Player)
or alternatively clear all selection for that player.

  • Selection - Clear selection for (Triggering Player)
EDIT : oops, i'm wrong...

here

  • Game - Disable selection and deselection functionality (Disable selection circles)
  • Game - Disable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
  • Game - Disable drag-selection functionality (Disable drag-selection box)
 
Status
Not open for further replies.
Top