HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Alloved targets

11-08-2007, 01:19 PM#1
cohadar
Zoom (requires log in)

Do we have a tutorial on this? (tried but didn't find one)

It is obvious what fields do in 90% of cases, but when it comes to rare 10% I have to experiment and guess and I don't like that.

There are questions here like:
* What is the difference between allied and friend?
* What are Bridge, Debris, Decoration and Terrain used for?
* Suicidal ..?
* What if I select Hero and Non-Hero at the same time?

I would also like to know how are this values represented inside jass,
what are the opcodes and how it all works...

There is a lot of tutorial material here.....
Attached Images
File type: pngtargets.PNG (10.5 KB)
11-08-2007, 01:40 PM#2
CommanderZ
Quote:
* What is the difference between allied and friend?
I think Friend = Allied + Player Units.
Quote:
* Suicidal ..?
These are units with kaboom ability - it tells them tnat they should explode while attacking. For mappers can be useful as unit tag - you can rename it to whatever you want.

Quote:
I would also like to know how are this values represented inside jass,
what are the opcodes and how it all works...

Not all of them are available in jass. Fo example Suicidal is not, but Ancient is availiable as UNIT_TYPE_ANCIENT for IsUnitType method.
11-08-2007, 01:59 PM#3
moyack
  • Quote:
    * What is the difference between allied and friend?
    Allied is the unit that belongs to the same team.
    Friend, as far as I remember, is the unit of a different team who's allied with your team.
  • Quote:
    * What are Bridge, Debris, Decoration and Terrain used for?
    Doodads, so the ability or unit can target doodads
  • Quote:
    * Suicidal ..?
    Units with this state, like worker, tauren, undead, etc.
  • Quote:
    * What if I select Hero and Non-Hero at the same time?
    If you select Hero and non-hero at the same time, it means that it can target a hero and a non hero unit.

As a side note, some abilities have the target type harcoded, that means that you can change the values but ingame they don't work. How to know that, with practice :P

As a empiric rule, abilities with dual effect like death coil, purge, abolish magic, etc., fail by changing these settings.
11-08-2007, 05:46 PM#4
abriko
But i like the ideas of a tutorial :)
There are some cases that i don't understand.
11-08-2007, 06:16 PM#5
cohadar
Exactly, a tutorial would be needed here.

2 x rep from me for a good one.
11-09-2007, 08:36 PM#6
abriko
Someone know what put in allowed target for clusterrockets to damage enemy units and buildings, tree & destructibles ?
I tried many combinations with no results.