Skip to content

Targeting ​

An active ability has a targeting strategy: the rule that decides who or what the ability can be aimed at, how far away, and whether the game can pick the target for you. You choose it in the Abilities editor with the Strategy Type drop-down of the targeting section. Each strategy shows its own settings below the drop-down.

The strategies ​

Choosing the targeting strategy.
Choosing the targeting strategy.
StrategyThe ability targetsTypical use
SelfThe caster, alwaysA buff, a self-heal, a transformation
NoneNothing in particular. It happens around the caster or in the worldAn area attack around you, a global effect
EnemyA hostile entity, or a destructible object that can be targetedAn attack, a curse
AllyA friendly entity, a party member, or (if allowed) yourselfA heal, a blessing
Any EntityAny entity or targetable object, friend or foe. It does not check factionsA spell that works on everyone
PointA point on the groundA ground-targeted area spell, a teleport
Multi PointSeveral points, picked one after anotherA wall of fire, a line attack
AimedWhatever the user is aiming at, or the point the aim hitsA bow, a gun, a thrown weapon. See Aiming

Enemy and Ally use the factions you set up in the Behaviors category: a target is an enemy when its faction is hostile to the caster's.

Settings shared by the strategies ​

The shared settings of the Enemy strategy.
The shared settings of the Enemy strategy.

Every strategy has these. A strategy ignores the ones that make no sense for it (a Self ability needs no range).

Choosing a target ​

FieldWhat it doesDefault
Has Auto TargetThe game can pick a target for the ability when none is selected, such as the nearest enemyon
Requires Targeting InputThe player must choose the target by hand, and the automatic pick is turned offoff
Can Target DeadDead entities are valid targets. Turn it on for a resurrectionoff
Max RangeThe farthest distance from the caster a target can be. 0 means unlimited3
Requires Line Of SightThe caster must be able to see the targeton
Target Collision LayerWhich faction relationship counts as a valid target: Hostile, Neutral or FriendlyHostile
Target Collision RadiusA radius around the target point used to find entities. 0 means a single point0

The targeting marker ​

A marker is a picture shown on the ground or on the target while the player is choosing.

FieldWhat it doesDefault
Has MarkerShow a targeting markeroff
Marker LocationWhere it is placed: at the Mouse or on the UserMouse
Marker TextureThe picture. The choices come from Ability Target Textures in the Gameplay Confignone
Marker Is FriendlyDraws the marker in the style used for friendly targetsoff
Marker X, Marker ZMoves the marker sideways from its location0
Marker OffsetAn extra offset applied to the marker0

Settings of one strategy ​

Ally ​

FieldWhat it doesDefault
Can Target SelfThe caster can aim the ability at themselveson

Point ​

FieldWhat it doesDefault
Fixed PointIf set, the ability always targets this point, measured from the caster, and the player does not choose. Use it for an effect that always lands, say, two metres in frontnot set

Multi Point ​

FieldWhat it doesDefault
Points ExpectedHow many points the player picks before the ability goes off2
Fixed PointsIf set, the ability uses these points, measured from the caster, instead of asking the playernone

What happens when the target is not valid ​

Before an ability starts, the targeting strategy checks the target. If it is not valid (wrong faction, dead, out of range, out of sight) and the strategy has Has Auto Target, the game tries to pick a valid one. For an out-of-range target it does not pick another, it tells the player. If there is no valid target the ability does not start and the player gets a message, and nothing is spent.

See also ​