MovementKit
|
Variables | |
AnimationHelper | RiverExplorer.Player.PlayerControl._AnimationHelper = null |
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.
Towards | The direction to attack. |
PlayerMoving | The direction player is moving. |
Perform a block. The user has activated a block sequence.
Towards | The general direction the player blocks from. |
PlayerMoving | The player is moving this direction. |
Perform a buff. The user has activated a buff sequence.
Towards | The general direction the act. |
PlayerMoving | The player is moving this direction. |
Perform taking damage. The user has activated a block sequence.
From | The general direction the damage is coming from. |
PlayerMoving | The player is moving this direction. |
Perform a death.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The general direction the player should face. If not known, use the players current facing direction. |
Perform a eating.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The general direction the player should face. If not known, use the players current facing direction. |
param | PlayerMoving The player is moving this direction. |
Perform fainting.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The 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.
PlayerFacing | The general direction the player should face. If not known, use the players current facing direction. |
param | PlayerMoving The player is moving this direction. |
Perform get up.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The 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. |
param | PlayerMoving The player is moving this direction. |
Perform hacking (axe).
This delegate is not invoked by this script. This delegate is used by this script.
Towards | The general direction to hack towards. |
PlayerMoving | The 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.
PlayerFacing | The general direction the player is facing. |
Perform one handed melee attack.
This delegate is not invoked by this script. This delegate is used by this script.
Towards | The general direction to hack towards. |
PlayerMoving | The 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.
Towards | The general direction to hack towards. |
PlayerMoving | The player is moving this direction. |
Perform rest.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The general direction the player is facing. |
Perform roll.
This delegate is not invoked by this script. This delegate is used by this script.
RollTowards | The general direction the should roll. |
PlayerMoving | The player is moving this direction. |
Perform sit.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The general direction the player is facing. |
Perform idle and looking.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The general direction the player is facing. |
Perform idle and ready to attack.
This delegate is not invoked by this script. This delegate is used by this script.
PlayerFacing | The general direction the player is facing. |
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.
WasFacing | The direction the player is facing before the turn. |
NowFacing | The direction the player is facing after the turn. |
PlayerMoving | The 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.
WasFacing | The direction the player is facing before the turn. |
NowFacing | The direction the player is facing after the turn. |
PlayerMoving | The players current velocity. |
Run forward, facing forward.
This is activated when the player is running in Direction, while facing Facing direction.
PlayerFacing | The direction the player is facing. |
PlayerMoving | The direction the player is moving. |
Do the shooing act.
The player activated the shoot action.
PlayerFacing | The direction the player is facing. |
PlayerMoving | The direction the player is moving. |
What | A 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.
PlayerFacing | The direction the player is facing. |
PlayerMoving | The direction the player is moving. |
What | A 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.
PlayerFacing | The direction the player is facing. |
Do the casting a spell act.
The player activated the shoot action.
Towards | The general direction to hack towards. |
PlayerMoving | The player is moving this direction. |
What | A game specific value that is passed to the called code to indicate which spell. Zero means ignore this value. |
Do the a strafe.
The player activated the shoot action.
PlayerFacing | The direction the player is facing. |
PlayerMoving | The direction the player is moving. |
Do the shooing character is tired.
The player activated the shoot action.
PlayerFacing | The direction the player is facing. |
Perform a victory action.
PlayerFacing | The direction the player is facing. |
PlayerMoving | The direction the player is moving. |
Walk in a circle or close to it.
PlayerFacing | The direction the player is facing. |
|
private |
The players Animator, or null when none. if the player has an animator, we send it some delegate calls