Speaker
classscriptedClass
extends InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable
Properties 6
| Name | Type | Flags |
|---|---|---|
deafGameEffect | ref<EffectInstance> | scriptedprotected |
effectRef | EffectRef | scriptedprotected |
soundEvent | CName | scriptedprotected |
soundEventPlaying | Bool | scriptedprotected |
statusEffect | TweakDBID | scriptedprotected |
targets | array<wref<ScriptedPuppet>> | scriptedprotected |
Methods 21
protected final func ApplyStatusEffect(target: wref<GameObject>)scripted
protected final func CreateGameEffect()scripted
public const func DeterminGameplayRole() -> EGameplayRolescripted
protected const func GetController() -> ref<SpeakerController>scripted
public const func GetDevicePS() -> ref<SpeakerControllerPS>scripted
protected cb func OnChangeMusicAction(evt: ref<ChangeMusicAction>) -> Boolscripted
protected cb func OnDelayEvent(evt: ref<DelayEvent>) -> Boolscripted
protected cb func OnPersitentStateInitialized(evt: ref<GameAttachedEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnTargetAcquired(evt: ref<TargetAcquiredEvent>) -> Boolscripted
protected cb func OnTargetLost(evt: ref<TargetLostEvent>) -> Boolscripted
protected final func PlayAllSounds()scripted
protected final func RemoveStatusEffect(target: wref<GameObject>)scripted
protected final func StartGameEffect(effect: ESoundStatusEffects)scripted
protected func StartGlitching(glitchState: EGlitchState, opt intensity: Float)scripted
protected final func StopAllSounds()scripted
protected final func StopGameEffect()scripted
protected func StopGlitching()scripted
protected func TurnOffDevice()scripted
protected func TurnOnDevice()scripted