REDNODE / GAME API

Speaker

classscriptedClass

extends InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 6

NameTypeFlags
deafGameEffectref<EffectInstance>scriptedprotected
effectRefEffectRefscriptedprotected
soundEventCNamescriptedprotected
soundEventPlayingBoolscriptedprotected
statusEffectTweakDBIDscriptedprotected
targetsarray<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