Unselectable but with collision

A

Ag3n7-Fli

Guest
Is there any way to make units unselectable but still have a collsion size?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
All units? Use this:

Code:
Game - Disable selection and deselection functionality (Enable selection circles)

Otherwise, you'll have to trigger it to deselect units when they are selected.

> dont units with locust still have collision sizes?

No.
Haven't you noticed how they can walk through trees and cliffs? :p
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
610
They don't have collision size if you give them locust.
 

Vulcansurge

Ultra Cool Member
Reaction score
27
oops read question wrong.

Just make a trigger that un-selects all of a particular unit when selected, and then give the unit a collision size of whatever you want.
 

cleeezzz

The Undead Ranger.
Reaction score
268
nope i never noticed that, i only use locust for non-moving invisible dummies o.o
 

Vulcansurge

Ultra Cool Member
Reaction score
27
nope i never noticed that, i only use locust for non-moving invisible dummies o.o

It is why locust is good for using as dummies, they have no collision and can therefore be placed, for example, in a tree. Im sure this irrelivant but IDC
 
A

Ag3n7-Fli

Guest
Would creating a trigger that detects if a unit from the group is selected and deselects the whole unit group work?
 

Vulcansurge

Ultra Cool Member
Reaction score
27
Simple:

Actions - Unit Selected
Conditions - Unit Belongs to Unit Group
Events - Deselect unit.
 
A

Ag3n7-Fli

Guest
I can't seem to find a unit-group comparison. Is it hidden somewhere else?
 

gameman

It's been a long, long time.
Reaction score
96
Simple:

Actions - Unit Selected
Conditions - Unit Belongs to Unit Group
Events - Deselect unit.

more like this

lol
Events
Player - Player 1 (Red) Selects a unit
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Selection - Remove (Triggering unit) from selection for Player 1 (Red)
 

Vulcansurge

Ultra Cool Member
Reaction score
27
Events
Player - Player 1 (Red) Selects a unit
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Selection - Remove (Triggering unit) from selection for Player 1 (Red)

Events
Player - Player 1 (Red) Selects a unit
Conditions
Unit is in unit group; (UNIT GROUP[X]) Equal to true
Actions
Selection - Remove (Triggering unit) from selection for Player 1 (Red)

For unit groups.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top