Show / Hide Table of Contents

Class AmbientEffectsPlayer

Plays different ambient effects, both audible and visual, at random intervals. Certain effects such as lightning are timed to each other. NOTE: Lightning sky effects are deprecated for now.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
AmbientEffectsPlayer
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(DaggerfallAudioSource))]
public class AmbientEffectsPlayer : MonoBehaviour

Fields

| Improve this Doc View Source

CemeteryMaxWaitTime

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

CemeteryMinWaitTime

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

doNotPlayInCastle

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

IsMuted

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

LightForEffects

Declaration
public Light LightForEffects
Field Value
Type Description
Light
| Improve this Doc View Source

MaxWaitTime

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

MinWaitTime

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

PlayLightningEffect

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

Presets

Declaration
public AmbientEffectsPlayer.AmbientSoundPresets Presets
Field Value
Type Description
AmbientEffectsPlayer.AmbientSoundPresets

Methods

| Improve this Doc View Source

RaiseOnPlayEffectEvent(SoundClips)

Declaration
protected virtual void RaiseOnPlayEffectEvent(SoundClips clip)
Parameters
Type Name Description
SoundClips clip

Events

| Improve this Doc View Source

OnPlayEffect

Declaration
public static event AmbientEffectsPlayer.OnPlayEffectEventHandler OnPlayEffect
Event Type
Type Description
AmbientEffectsPlayer.OnPlayEffectEventHandler

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