Shifter

Inherits from Character.

Only character owner can modify fields and call functions unless otherwise specified.

Fields

Field
Type
Readonly
Description

Size

float

false

Shifter's size.

DetectRange

float

false

(AI) shifter's detect range.

FocusRange

float

false

(AI) shifter's focus range.

FocusTime

float

false

(AI) shifter's focus time before switching targets.

RunSpeedBase

float

false

Shifter's base run speed. Final run speed is RunSpeedBase + Size * RunSpeedPerLevel.

WalkSpeedBase

float

false

Shifter's base walk speed. Final walk speed is WalkSpeedBase + Size * WalkSpeedPerLevel.

RunSpeedPerLevel

float

false

Shifter's run speed added per level.

WalkSpeedPerLevel

float

false

Shifter's walk speed added per level.

TurnSpeed

float

false

Shifter's turn speed when running turn animation.

RotateSpeed

float

false

Shifter's rotate speed when rotating body.

JumpForce

float

false

Shifter's jump force when jumping.

ActionPause

float

false

Shifter's pause delay after performing an action.

AttackPause

float

false

Shifter's pause delay after performing an attack.

TurnPause

float

false

Shifter's pause delay after performing a turn.

FarAttackCooldown

float

false

(AI) Shifter's cooldown after performing a ranged attack.

AttackWait

float

false

(AI) Shifter's wait time between being in range to attack and performing the attack.

AttackSpeedMultiplier

float

false

Shifter's attack animation speed.

UsePathfinding

bool

false

(AI) Shifter uses pathfinding.

NapePosition

Vector3

true

The shifter's nape position.

DeathAnimLength

float

false

The length of the death animation.

Functions

Function
Returns
Description

Blind()

null

Causes the shifter to enter the blind state.

Cripple()

null

Causes the shifter to enter the cripple state.

MoveTo(position: Vector3, ignoreEnemies: bool)

null

Causes the (AI) shifter to move towards a position. If ignoreEnemies is true, will not engage enemies along the way.

Target(enemy: Character | MapTargetable, focusTime: float)

null

Causes the (AI) shifter to target an enemy character or MapTargetable for focusTime seconds. If focusTime is 0 it will use the default focus time.

Idle(time: float)

null

Causes the (AI) shifter to idle for time seconds before beginning to wander. During idle the titan will not react or move at all.

Wander()

null

Causes the (AI) shifter to cancel any move commands and begin wandering randomly.

Emote(emote: string)

null

Causes the shifter to emote.

Last updated