Targets for Effects

From SC2Mapster Wiki
Jump to: navigation, search

Target (Effects)[edit | edit source]

Effect targets are used to change the start or end location of an effect or effect tree. Effect targets have 2 fields. The effect field is used to define an earlier point in an effect tree. The Target field is used to define what object should be used as the point of reference. For abilities, this controls what can/cannot be targeted.

Effect Field[edit | edit source]

Used to define an earlier point in the effect tree. Applying an effect through a behavior creates a new branch of an effect tree, making the unit who has the applied behavior the new caster/source unit.

Target: Caster[edit | edit source]

The caster of the effect.

Sub-Types: Caster Outer[edit | edit source]

Outer: Units that is the containing unit for the Caster, which can be a unit with a Transport Ability or an Arm Magazine ability.

Target: Source[edit | edit source]

The source of the effect

Sub-Types: Source Unit, Source Point, Source Outer[edit | edit source]

Outer: Unit that is the containing unit for the Source, which can be a unit with a Transport Ability or an Arm Magazine ability.

Target: Target[edit | edit source]

The target of the effect.

Sub-Types: Target Unit, Target Point, and Target Unit/Point[edit | edit source]

Target: Origin[edit | edit source]

The origin of the effect

Sub-Types: Origin Unit, Origin Point, Origin Outer[edit | edit source]

Outer: Unit that is the containing unit for the Origin, which can be a unit with a Transport Ability or an Arm Magazine ability.

Target: Outer[edit | edit source]

Unit that is the containing unit for the Target, which can be a unit with a Transport Ability or an Arm Magazine ability.

Target: Unknown[edit | edit source]

Same as NULL, EMPTY, or ANY. Doesn't validate any units or points.