Skip to content

SelectableType

BlackTower edited this page Aug 2, 2022 · 10 revisions
Table of Contents
- [Data\Selectable Type](#dataselectable-type) - [BehaviorComponent.Behavior Type](#behaviorcomponentbehavior-type) * [Do Nothing](#do-nothing) * [Generic Controllable Unit](#generic-controllable-unit) * [Wander](#wander) * [Td Types [Wild Sky]](#td-types-wild-sky) - [Unit.MiniMapConfig.Mini Map Ui Type](#unitminimapconfigmini-map-ui-type) * [Circle](#circle) * [Sprite](#sprite) - [AreaSearchType.Area Search Type](#areasearchtypearea-search-type) * [Circle](#circle) * [Circle Sector](#circle-sector) * [Rectangle](#rectangle) * [Children](#children) - [EffectSetWaypoints.Waypoints.Waypoints Type](#effectsetwaypointswaypointswaypoints-type) * [Waypoints Name](#waypoints-name) * [From Unit](#from-unit) * [Nearest Waypoint](#nearest-waypoint) - [EffectEnumerateUnitList.Location Mode](#effectenumerateunitlistlocation-mode) * [Use Search Location](#use-search-location) * [Use Target Location](#use-target-location) - [EffectModifyUnit.ModifyAbilityCooldown.Ability Name Type](#effectmodifyunitmodifyabilitycooldownability-name-type) * [Ability Name](#ability-name) * [Ability Family](#ability-family) * [Ability Tag](#ability-tag) - [EffectModifyUnit.ModifyAbilityChargeCount.Ability Name Type](#effectmodifyunitmodifyabilitychargecountability-name-type) * [Ability Name](#ability-name) * [Ability Family](#ability-family) * [Ability Tag](#ability-tag) - [EffectModifyUnit.Modify Unit Type](#effectmodifyunitmodify-unit-type) * [Modify Mana](#modify-mana) * [Modify Shield](#modify-shield) * [Modify Ability Cooldown](#modify-ability-cooldown) * [Modify Ability Charge Count](#modify-ability-charge-count) - [EffectIssueAbility.Ability Reference](#effectissueabilityability-reference) * [Ability Name](#ability-name) * [Ability Tag](#ability-tag) - [EffectForce.Force Type](#effectforceforce-type) * [Direction](#direction) * [Center](#center) - [OrbitingMover.Orbit Speed Type](#orbitingmoverorbit-speed-type) * [Speed](#speed) * [Degree Per Second](#degree-per-second)

Data\Selectable Type {dataSelectable-Type}

BehaviorComponent.Behavior Type {BehaviorComponentBehavior-Type}

Controls the AI behavior type of the unit. Most of the time this should be set to Generic Controllable Unit. It's generally recommended to not use Td Types unless you know what you're doing and are creating a similar tower defense game.

Do Nothing {Do-Nothing}

The unit will have no AI behavior. This causes the unit to be unable to move, attack, or otherwise accept commands.

Generic Controllable Unit {Generic-Controllable-Unit}

The unit will use the basic AI behavior and accept commands. Generic controllable units with weapons will attempt to attack valid targets in range.

Leash Radius {Leash-Radius}

Units will only chase auto-acquired targets within this radius. If the unit leaves this radius, it will be ordered to return to its original position (ie the origin of the leash radius). The unit will not be able to auto-acquire a new target until it reaches the leash reset radius. The position of the leash region only updates when a unit becomes idle.

Leash Reset Radius {Leash-Reset-Radius}

Leashed units (ones that have abandoned their auto-acquired targets and are moving towards their original position) are allowed to acquire new targets within this radius. The leash reset region uses the same origin as the leash region (and updates with it). The purpose of using two regions is to prevent attackers from being able to kite defenders by jumping in and out of the leash radius; The leash reset radius should be significantly smaller than the leash radius to provide the defender a decent area to retreat to.

Force Rescan {Force-Rescan}

Period {Period}

If set, the unit will be forced to reconsider its current weapon target each period. Otherwise weapons tend to stick to the current target until it becomes invalid or dies.

Wander {Wander}

The unit will wander aimlessly. Useful for villagers or critters.

Change Location Period {Change-Location-Period}

Wander Radius {Wander-Radius}

Td Types [Wild Sky] {Td-Types-Wild-Sky}

//////////////////////////////////////// TD types

Behavior Type {Behavior-Type}

EnumType: BehaviorComponent.BehaviorType

The unit will wait for this duration before wandering to a new location.

Unit Battle Data {Unit-Battle-Data}

MessageType: UnitBattleData

The unit will wander within this radius.

Unit.MiniMapConfig.Mini Map Ui Type {UnitMiniMapConfigMini-Map-Ui-Type}

Determines whether the unit renders as a circle or sprite on the minimap.

Circle {Circle}

Radius {Radius}

The radius to use for the unit's minimap icon.

Sprite {Sprite}

Icon {Icon}

The sprite name to use for the unit's minimap icon.

Size {Size}

The size to use for the unit's minimap icon.

AreaSearchType.Area Search Type {AreaSearchTypeArea-Search-Type}

Circle {Circle}

Radius {Radius}

Sets the radius of the circle to search.

Radius Expressions {Radius-Expressions}

Any expressions here will be evaluated and added to the radius each time the search is executed.

Circle Sector {Circle-Sector}

Outer Radius {Outer-Radius}

Sets the outer radius of the circle sector to search.

Outer Radius Expressions {Outer-Radius-Expressions}

Any expressions here will be evaluated and added to the outer radius each time the search is executed.

Inner Radius {Inner-Radius}

Sets the inner radius of the circle sector to search.

Inner Radius Expressions {Inner-Radius-Expressions}

Any expressions here will be evaluated and added to the inner radius each time the search is executed.

Angle {Angle}

Sets the angle of the circle sector to search. Used to make a search occur in an arc.

Angle Expressions {Angle-Expressions}

Any expressions here will be evaluated and added to the angle each time the search is executed.

Rectangle {Rectangle}

Width {Width}

Sets the width of the rectangle to search.

Width Expressions {Width-Expressions}

Any expressions here will be evaluated and added to the width each time the search is executed.

Length {Length}

Sets the length of the rectangle to search.

Length Expressions {Length-Expressions}

Any expressions here will be evaluated and added to the length each time the search is executed.

Children {Children}

The search will find the source unit's children.

EffectSetWaypoints.Waypoints.Waypoints Type {EffectSetWaypointsWaypointsWaypoints-Type}

Waypoints Name {Waypoints-Name}

From Unit {From-Unit}

Nearest Waypoint {Nearest-Waypoint}

Allowed Routes {Allowed-Routes}

Which routes will be searched, when set to NONE, all routes will be searched.

EffectEnumerateUnitList.Location Mode {EffectEnumerateUnitListLocation-Mode}

Use Search Location {Use-Search-Location}

Run the search using the Search Effect location.

Use Target Location {Use-Target-Location}

Run successive searches at the previous target's location.

This is useful for creating chain lightning effects.

Step Delay {Step-Delay}

Creates a delay between each search.

EffectModifyUnit.ModifyAbilityCooldown.Ability Name Type {EffectModifyUnitModifyAbilityCooldownAbility-Name-Type}

Determines if the ability is selected by name, tag, or family.

Ability Name {Ability-Name}

The name of the ability to modify cooldown for.

Ability Family {Ability-Family}

The ability family to modify cooldowns for.

Note that all abilities with this family on the target will have their cooldown reduced.

Ability Tag {Ability-Tag}

The ability tags to modify cooldowns for.

Note that all abilities with this tag on the target will have their cooldown reduced.

EffectModifyUnit.ModifyAbilityChargeCount.Ability Name Type {EffectModifyUnitModifyAbilityChargeCountAbility-Name-Type}

Determines if the ability is selected by name, tag, or family.

Ability Name {Ability-Name}

The name of the ability to modify charge count for.

Ability Family {Ability-Family}

The ability family to modify charge count for.

Ability Tag {Ability-Tag}

The ability tags to modify charge count for.

EffectModifyUnit.Modify Unit Type {EffectModifyUnitModify-Unit-Type}

Which unit property to modify.

Modify Mana {Modify-Mana}

Modifies a unit's mana.

Modify Type {Modify-Type}

EnumType: EffectModifyUnit.ModifyType

Determine the modify type

Value Type {Value-Type}

EnumType: ValueType

Whether to modify mana as percentage or explicit value.

Amount {Amount}

The amount of mana to modify.

Expressions {Expressions}

Modify Shield {Modify-Shield}

Modifies a unit's shields.

Modify Type {Modify-Type}

EnumType: EffectModifyUnit.ModifyType

Determine the modify type

Value Type {Value-Type}

EnumType: ValueType

Whether to modify shields as percentage or explicit value.

Amount {Amount}

The amount of shields to modify.

Expressions {Expressions}

Modify Ability Cooldown {Modify-Ability-Cooldown}

Modifies an ability's current cooldown.

Ability Name Type {Ability-Name-Type}

SelectableType: EffectModifyUnit.ModifyAbilityCooldown.Ability Name Type

Determines if the ability is selected by name, tag, or family.

Modify Type {Modify-Type}

EnumType: EffectModifyUnit.ModifyType

Determine the modify type

Value Type {Value-Type}

EnumType: ValueType

Whether to modify cooldown by a percentage or explicit value (in seconds).

Amount {Amount}

The duration to modify cooldown by.

Modify Ability Charge Count {Modify-Ability-Charge-Count}

Modifies an ability's charge count.

Ability Name Type {Ability-Name-Type}

SelectableType: EffectModifyUnit.ModifyAbilityChargeCount.Ability Name Type

Determines if the ability is selected by name, tag, or family.

Modify Type {Modify-Type}

EnumType: EffectModifyUnit.ModifyType

Determine the modify type

Amount {Amount}

The amount to modify charge count by.

Clamp {Clamp}

When checked, clamp charge count between 0 and max charge count.

EffectIssueAbility.Ability Reference {EffectIssueAbilityAbility-Reference}

Determines whether ability is referenced by name or tag.

Ability Name {Ability-Name}

Select the ability to be cast by name.

Ability Tag {Ability-Tag}

Select the first ability with the matching tag on the unit to cast.

EffectForce.Force Type {EffectForceForce-Type}

Direction {Direction}

A force pointing towards the same direction.

Direction Offset {Direction-Offset}

Offset in degrees added (clockwise) to the effect facing to determine the force's direction.

Center {Center}

A force pointing towards the effect center.

Direction Offset {Direction-Offset}

Offset in degrees added (clockwise) to the force's direction.

OrbitingMover.Orbit Speed Type {OrbitingMoverOrbit-Speed-Type}

Determines whether the orbit speed is controlled by a flat speed or degrees per second.

Speed {Speed}

When set, the missile unit's orbit speed, in terrain grid-units-per-second.

Degree Per Second {Degree-Per-Second}

When set, the missile unit's orbit speed, in degrees-per-second.

Clone this wiki locally