Class DaggerfallActionDoor
Specialised action component for hinged doors in buildings interiors and dungeons.
Inheritance
DaggerfallActionDoor
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
|
Improve this Doc
View Source
CloseSound
Declaration
public SoundClips CloseSound
Field Value
|
Improve this Doc
View Source
CurrentLockValue
Declaration
public int CurrentLockValue
Field Value
|
Improve this Doc
View Source
FailedSkillLevel
Declaration
public short FailedSkillLevel
Field Value
|
Improve this Doc
View Source
IsTriggerWhenOpen
Declaration
public bool IsTriggerWhenOpen
Field Value
|
Improve this Doc
View Source
OpenAngle
Declaration
Field Value
|
Improve this Doc
View Source
OpenDuration
Declaration
public float OpenDuration
Field Value
|
Improve this Doc
View Source
OpenSound
Declaration
public SoundClips OpenSound
Field Value
|
Improve this Doc
View Source
PickedLockSound
Declaration
public SoundClips PickedLockSound
Field Value
|
Improve this Doc
View Source
PlaySounds
Declaration
Field Value
|
Improve this Doc
View Source
StartOpen
Declaration
Field Value
Properties
|
Improve this Doc
View Source
ClosedRotation
Declaration
public Quaternion ClosedRotation { get; }
Property Value
|
Improve this Doc
View Source
CurrentState
Declaration
public ActionState CurrentState { get; set; }
Property Value
|
Improve this Doc
View Source
IsClosed
Declaration
public bool IsClosed { get; }
Property Value
|
Improve this Doc
View Source
IsLocked
Declaration
public bool IsLocked { get; }
Property Value
|
Improve this Doc
View Source
IsMagicallyHeld
Declaration
public bool IsMagicallyHeld { get; }
Property Value
|
Improve this Doc
View Source
IsMoving
Declaration
public bool IsMoving { get; }
Property Value
|
Improve this Doc
View Source
IsOpen
Declaration
public bool IsOpen { get; }
Property Value
|
Improve this Doc
View Source
LoadID
Declaration
public ulong LoadID { get; set; }
Property Value
|
Improve this Doc
View Source
StartingLockValue
Declaration
public int StartingLockValue { get; set; }
Property Value
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
|
Improve this Doc
View Source
ToggleDoor(Boolean)
Declaration
public void ToggleDoor(bool activatedByPlayer = false)
Parameters
Type |
Name |
Description |
Boolean |
activatedByPlayer |
|
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)