HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Targets Allowed

04-24-2005, 06:13 AM#1
Zero
In the unit editor, under the targets allowed field, I was wondering if anyone knew exactly which each one did.

The availible ones are:
- Air
- Alive
- Allied
- Ancient
- Bridge
- Dead
- Debris
- Decoration
- Enemy
- Friend
- Ground
- Hero
- Invulnerable
- Item
- Mechanical
- Neutral
- Non-Ancient
- Non-Hero
- Non-Suicial
- None
- Not Self
- Organic
- Player Units
- Self
- Struture
- Suicidal
- Terrain
- Tree
- Vulnerable
- Wall
- Ward

Obviously some of those are self explanitory, but some of them arn't specific enough. What I am trying to accomplish is making it so the hero's in my map can't attack other player's heros. I would rather do it threw this way then threw triggers.

Does anyone know a way I could accomplish this? I was thinking marking all player's hero's as like ancient or something then making them not be able to traget ancient units.. I don't know though.. Help o_O
04-24-2005, 06:50 AM#2
Anitarf
As far as I know you could do that easily, the aincent and suicidal classifications don't have any gameplay effect other than affecting the targetability of spells.
04-24-2005, 06:51 AM#3
Zero
Ok, thx. I will try it out :D
04-24-2005, 02:00 PM#4
Panto
Actually, I think that Suicidal units can't be loaded into Zeppelins, and Ancients will destroy the worker that made them if it's using the Night Elf Build ability. Neither of these probably have a bearing on your map, but no point not knowing.
04-24-2005, 04:10 PM#5
Anitarf
Many things depend on what you have in your map. You could even use the undead classification if you didn't have any spells that might have it hardcoded not to be able to target undead, like death coil can't target enemy undead units no matter what you set under targets allowed, I think.