MovementKit
Loading...
Searching...
No Matches
Collaboration diagram for Animation relateted:

Variables

AnimationHelper RiverExplorer.Player.PlayerControl._AnimationHelper = null
 

Detailed Description

Members in this group aid animation by providing a callback to any code that needs to know what action the user has taken, than may effect the animation shown.

As the player moves, it calculates the player direction and provides hooks to allow the game to animate. These sets of callbacks, along with the AnimationHelper

The player has activated attack.

Parameters
TowardsThe direction to attack.
PlayerMovingThe direction player is moving.

Perform a block. The user has activated a block sequence.

Parameters
TowardsThe general direction the player blocks from.
PlayerMovingThe player is moving this direction.

Perform a buff. The user has activated a buff sequence.

Parameters
TowardsThe general direction the act.
PlayerMovingThe player is moving this direction.

Perform taking damage. The user has activated a block sequence.

Parameters
FromThe general direction the damage is coming from.
PlayerMovingThe player is moving this direction.

Perform a death.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player should face. If not known, use the players current facing direction.
Note
Not all player deaths, are from an attack.

Perform a eating.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player should face. If not known, use the players current facing direction.
paramPlayerMoving The player is moving this direction.

Perform fainting.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player should face. If not known, use the players current facing direction.

Perform falling.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player should face. If not known, use the players current facing direction.
paramPlayerMoving The player is moving this direction.
Note
Not all falls are from a jump.

Perform get up.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player should face. If not known, use the players current facing direction. It might be hard to tell if the player is facing up or down, then use forward.
paramPlayerMoving The player is moving this direction.

Perform hacking (axe).

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
TowardsThe general direction to hack towards.
PlayerMovingThe player is moving this direction.

Perform idle and ready to attack.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player is facing.
Note
The player is not moving.

Perform one handed melee attack.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
TowardsThe general direction to hack towards.
PlayerMovingThe player is moving this direction.

Perform two handed melee attack.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
TowardsThe general direction to hack towards.
PlayerMovingThe player is moving this direction.

Perform rest.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player is facing.
Note
The player is not moving.

Perform roll.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
RollTowardsThe general direction the should roll.
PlayerMovingThe player is moving this direction.

Perform sit.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player is facing.
Note
The player is not moving.

Perform idle and looking.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player is facing.
Note
The player is not moving.

Perform idle and ready to attack.

This delegate is not invoked by this script. This delegate is used by this script.

See also
DisablePlayerActs
EnablePlayerActs
Parameters
PlayerFacingThe general direction the player is facing.
Note
The player is not moving.

Jump into the air.

Player turned left.

This is activated when the player turns to the left more than 67.5° and less than 112.5° to the left from the last report. Only called once while still within 11.25° of the previous reported position.

Parameters
WasFacingThe direction the player is facing before the turn.
NowFacingThe direction the player is facing after the turn.
PlayerMovingThe players current velocity.

Player turned right.

This is activated when the player turns to the right more than 67.5° and less than 112.5° to the left from the last report. Only called once while still within 11.25° of the previous reported position.

Parameters
WasFacingThe direction the player is facing before the turn.
NowFacingThe direction the player is facing after the turn.
PlayerMovingThe players current velocity.

Run forward, facing forward.

This is activated when the player is running in Direction, while facing Facing direction.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.

Do the shooing act.

The player activated the shoot action.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
WhatA game specific value that is passed to the called code to indicate what to shoot. Zero means ignore this value.

Do the shooing arrow act.

The player activated the shoot action.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
WhatA game specific value that is passed to the called code to indicate what to shoot. Zero means ignore this value.

Do the sleep act.

The player activated the shoot action.

Parameters
PlayerFacingThe direction the player is facing.
Note
The player has no movement.

Do the casting a spell act.

The player activated the shoot action.

Parameters
TowardsThe general direction to hack towards.
PlayerMovingThe player is moving this direction.
WhatA game specific value that is passed to the called code to indicate which spell. Zero means ignore this value.
Note
Not all spells are attacks.

Do the a strafe.

The player activated the shoot action.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.

Do the shooing character is tired.

The player activated the shoot action.

Parameters
PlayerFacingThe direction the player is facing.
Note
The player is not moving.

Perform a victory action.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.

Walk in a circle or close to it.

See also
EnableMoving
MovementSpeed
Parameters
PlayerFacingThe direction the player is facing.
Note
The net movement is zero.

Variable Documentation

◆ _AnimationHelper

AnimationHelper RiverExplorer.Player.PlayerControl._AnimationHelper = null
private

The players Animator, or null when none. if the player has an animator, we send it some delegate calls