HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with Select Unit

01-09-2007, 05:20 PM#1
Maegus
I designed a system for gates that would open for teammates in my map. Basically, each gate is a unit with a triggered Open/Close Gate ability, and it has Select Unit so that teammates can use that ability. But, despite my specifying the targets to be allies/friends/notself, the gates select any unit, even if its an enemy. Are the targets for Select Unit unable to be altered in the GUI?

I've thought about doing a deselect trigger for enemies who select the gate, but I'd like to not have to do this. And creating a computer owner for each team that would share control would bring the player capacity down.

I might make a trigger that runs whenever a unit is selected and then checks what team the gate is on. Then, it would order the gate to deselect that unit. But, the gate would have to keep deselecting the unit over and over again and I'm not sure if that would be screwy (probably not).

In any case, I'm still curious to know whether I can edit the targeting of Select Unit.

Any thoughts?
01-09-2007, 05:40 PM#2
Naakaloh
I believe if you give it the "Shop Sharing" ability it should work properly.
01-09-2007, 09:22 PM#3
Maegus
Thanks! =D +Rep to you, sir.