Targets for Effects

From SC2Mapster Wiki
Jump to: navigation, search

Target (Effects)

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

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

The caster of the effect.

Sub-Types: Caster Outer

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

The source of the effect

Sub-Types: Source Unit, Source Point, Source Outer

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

The target of the effect.

Sub-Types: Target Unit, Target Point, and Target Unit/Point

Target: Origin

The origin of the effect

Sub-Types: Origin Unit, Origin Point, Origin Outer

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

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

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