Show / Hide Table of Contents

Class DaggerfallActionDoor

Specialised action component for hinged doors in buildings interiors and dungeons.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
DaggerfallActionDoor
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(AudioSource))]
[RequireComponent(typeof(BoxCollider))]
public class DaggerfallActionDoor : MonoBehaviour

Fields

| Improve this Doc View Source

BashSound

Declaration
public SoundClips BashSound
Field Value
Type Description
SoundClips
| Improve this Doc View Source

CloseSound

Declaration
public SoundClips CloseSound
Field Value
Type Description
SoundClips
| Improve this Doc View Source

CurrentLockValue

Declaration
public int CurrentLockValue
Field Value
Type Description
Int32
| Improve this Doc View Source

FailedSkillLevel

Declaration
public short FailedSkillLevel
Field Value
Type Description
Int16
| Improve this Doc View Source

IsTriggerWhenOpen

Declaration
public bool IsTriggerWhenOpen
Field Value
Type Description
Boolean
| Improve this Doc View Source

OpenAngle

Declaration
public float OpenAngle
Field Value
Type Description
Single
| Improve this Doc View Source

OpenDuration

Declaration
public float OpenDuration
Field Value
Type Description
Single
| Improve this Doc View Source

OpenSound

Declaration
public SoundClips OpenSound
Field Value
Type Description
SoundClips
| Improve this Doc View Source

PickedLockSound

Declaration
public SoundClips PickedLockSound
Field Value
Type Description
SoundClips
| Improve this Doc View Source

PlaySounds

Declaration
public bool PlaySounds
Field Value
Type Description
Boolean
| Improve this Doc View Source

StartOpen

Declaration
public bool StartOpen
Field Value
Type Description
Boolean

Properties

| Improve this Doc View Source

ClosedRotation

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

CurrentState

Declaration
public ActionState CurrentState { get; set; }
Property Value
Type Description
ActionState
| Improve this Doc View Source

IsClosed

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

IsLocked

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

IsMagicallyHeld

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

IsMoving

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

IsOpen

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

LoadID

Declaration
public ulong LoadID { get; set; }
Property Value
Type Description
UInt64
| Improve this Doc View Source

StartingLockValue

Declaration
public int StartingLockValue { get; set; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

AttemptBash(Boolean)

Declaration
public void AttemptBash(bool byPlayer)
Parameters
Type Name Description
Boolean byPlayer
| Improve this Doc View Source

AttemptLockpicking()

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

RestartTween(Single)

Restarts a tween in progress. For example, if restoring from save.

Declaration
public void RestartTween(float durationScale = 1F)
Parameters
Type Name Description
Single durationScale
| Improve this Doc View Source

SetDungeonDoorSounds()

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

SetInteriorDoorSounds()

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

SetOpen(Boolean, Boolean, Boolean)

Declaration
public void SetOpen(bool open, bool instant = false, bool ignoreLocks = false)
Parameters
Type Name Description
Boolean open
Boolean instant
Boolean ignoreLocks
| Improve this Doc View Source

ToggleDoor(Boolean)

Declaration
public void ToggleDoor(bool activatedByPlayer = false)
Parameters
Type Name Description
Boolean activatedByPlayer

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