HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unselectable Targetables?

01-16-2007, 05:05 AM#1
Pheonix-IV
I remember seeing a map that showed a 'Summons System' that summoned these random elemental skeletons. The skeletons were unselectable, but you could target them with a spell to remove them and enemies could attack them. I also remember hearing something about a trick with locust which could achieve this effect (unselectable units but still capable of being hit by spells and attacked.) How is this doable, or did i mishear?
01-16-2007, 05:38 AM#2
maximilianx
hmm.. i dunno if this might work.
Trigger:
Deselect unit
Collapse Events
Player - Player 1 (Red) Selects a unit
Collapse Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Collapse Actions
Selection - Clear selection for Player 1 (Red)
It makes it so that you can target him, but when hes selected he will be deselected, i tried it out, and it works...but you can still tell him to move if you rght click real fast after selecting him =/
01-16-2007, 06:38 AM#3
Ryude
Hm, what map is it and I can tell you how it's done :P
01-16-2007, 08:36 AM#4
Pheonix-IV
Alright, i've worked it out, you use chaos on a unit with locust. Experimentation ftw!
01-16-2007, 12:25 PM#5
Vexorian
yeah, the most impractical way to do so, yay!
01-16-2007, 11:33 PM#6
Pyrogasm
There's a more practical way to do it that works reliably?
01-16-2007, 11:34 PM#7
Pheonix-IV
At least it is doable, even if the method for doing so is a bit wierd.
01-17-2007, 01:14 AM#8
Vexorian
I am gonna say, that most maps that require this, require you to only select one unit ever, yet be able to target the rest. Because of this the disable selection natives work like full awesome ness.
01-17-2007, 02:03 AM#9
Pheonix-IV
I'll give you some background, i needed this for a Battleships AoS. Amongst other things, one of the things i'm putting into the map is boarding actions and crew. Now i want the crew to be targetable with a 'Sack Crewman' ability and be able to fight amongst each other during a boarding action, but i don't want the player to be able to select and control them.

So this method works fine, i just store each chaos ability in an ability array and reference the correct one depending on what item you buy from the shop.