Show / Hide Table of Contents

Class ClimbingMotor

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
ClimbingMotor
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(PlayerMotor))]
[RequireComponent(typeof(LevitateMotor))]
[RequireComponent(typeof(CharacterController))]
public class ClimbingMotor : MonoBehaviour

Properties

| Improve this Doc View Source

ClimbQuitMoveUnderToHang

True if player just initiated climbing under wall to hang from ceiling beneath

Declaration
public bool ClimbQuitMoveUnderToHang { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsClimbing

Declaration
public bool IsClimbing { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsSlipping

true if player is climbing but trying to regain hold of wall

Declaration
public bool IsSlipping { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

WallEject

True if player just jumped from a wall

Declaration
public bool WallEject { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

WallGrabDirection

Declaration
public Vector3 WallGrabDirection { get; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

WasClimbing

Declaration
public bool WasClimbing { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

ClimbingCheck()

Perform climbing check, and if successful, start climbing movement.

Declaration
public void ClimbingCheck()
| Improve this Doc View Source

ClimbingSkillCheck(Int32)

See if the player can pass a climbing skill check

Declaration
public bool ClimbingSkillCheck(int basePercentSuccess)
Parameters
Type Name Description
Int32 basePercentSuccess
Returns
Type Description
Boolean

true if player passed climbing skill check

| Improve this Doc View Source

GetSaveData()

Declaration
public AdvancedClimbingData_v1 GetSaveData()
Returns
Type Description
AdvancedClimbingData_v1
| Improve this Doc View Source

RestoreSaveData(AdvancedClimbingData_v1)

Declaration
public void RestoreSaveData(AdvancedClimbingData_v1 data)
Parameters
Type Name Description
AdvancedClimbingData_v1 data
| Improve this Doc View Source

StopClimbing(Boolean)

Declaration
public void StopClimbing(bool fromHanging = false)
Parameters
Type Name Description
Boolean fromHanging

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX