G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FMODBlueprint Namespace Reference

Functions

Audio|FMOD
float32 GetGlobalParameterByName (FName Name)
 Will be deprecated in FMOD 2.01, use GetGlobalParameterValueByName(FName, float, float) instead. Get a global parameter from the System.
FFMODEventInstance PlayEvent2D (UObject WorldContextObject, UFMODEvent Event, bool bAutoPlay)
 Plays an event. This returns an FMOD Event Instance. The sound does not travel with any actor.
void LoadBankSampleData (UFMODBank Bank)
 Load bank sample data.
void MixerSuspend ()
 Suspend the FMOD mixer. Used when suspending the application.
void UnloadEventSampleData (UObject WorldContextObject, UFMODEvent Event)
 Unload event sample data.
void UnloadBankSampleData (UFMODBank Bank)
 Unload bank sample data.
void UnloadBank (UFMODBank Bank)
 Unloads a bank.
void SetOutputDriverByName (FString NewDriverName)
 Set current output device by name or part of the name.
void SetOutputDriverByIndex (int NewDriverIndex)
 Set current output device by its index from GetOutputDrivers.
void SetLocale (FString Locale)
 Set the active locale for subsequent bank loads.
void SetGlobalParameterByName (FName Name, float32 Value)
 Set a global parameter from the System.
UFMODAudioComponent PlayEventAttached (UFMODEvent Event, USceneComponent AttachToComponent, FName AttachPointName, FVector Location, EAttachLocation LocationType, bool bStopWhenAttachedToDestroyed, bool bAutoPlay, bool bAutoDestroy)
 Plays an event attached to and following the specified component.
FFMODEventInstance PlayEventAtLocation (UObject WorldContextObject, UFMODEvent Event, FTransform Location, bool bAutoPlay)
 Plays an event at the given location. This returns an FMOD Event Instance. The sound does not travel with any actor.
TArray< FFMODEventInstance > FindEventInstances (UObject WorldContextObject, UFMODEvent Event)
 Return a list of all event instances that are playing for this event. Be careful using this function because it is possible to find and alter any playing sound, even ones owned by other audio components.
void MixerResume ()
 Resume the FMOD mixer. Used when resuming the application.
bool IsBankLoaded (UFMODBank Bank)
 Returns true if a bank is loaded.
UFMODAsset FindAssetByName (FString Name)
 Find an asset by name.
UFMODEvent FindEventByName (FString Name)
 Find an event by name.
void LoadBank (UFMODBank Bank, bool bBlocking, bool bLoadSampleData)
 Loads a bank.
void LoadEventSampleData (UObject WorldContextObject, UFMODEvent Event)
 Load event sample data. This can be done ahead of time to avoid loading stalls.
void GetGlobalParameterValueByName (FName Name, float32 &UserValue, float32 &FinalValue)
 Get a global parameter from the System.
TArray< FString > GetOutputDrivers ()
 List all output device names.
Audio|FMOD|Bus
void BusStopAllEvents (UFMODBus Bus, EFMOD_STUDIO_STOP_MODE stopMode)
 Stops all EventInstances routed into the bus.
void BusSetPaused (UFMODBus Bus, bool bPaused)
 Pause/Unpause all events going through this bus.
void BusSetVolume (UFMODBus Bus, float32 Volume)
 Set volume on a bus.
void BusSetMute (UFMODBus Bus, bool bMute)
 Mute/Unmute this bus.
Audio|FMOD|EventInstance
void EventInstanceRelease (FFMODEventInstance EventInstance)
 Release an FMOD Event Instance.
void EventInstanceSetVolume (FFMODEventInstance EventInstance, float32 Volume)
 Set volume on an FMOD Event Instance.
void EventInstanceSetTransform (FFMODEventInstance EventInstance, FTransform Location)
 Set 3D attributes on a FMOD Event Instance.
void EventInstanceSetProperty (FFMODEventInstance EventInstance, EFMODEventProperty Property, float32 Value)
 Set an FMOD event property on an FMOD Event Instance.
void EventInstanceSetPitch (FFMODEventInstance EventInstance, float32 Pitch)
 Set pitch on an FMOD Event Instance.
void EventInstanceSetPaused (FFMODEventInstance EventInstance, bool Paused)
 Pause/Unpause an FMOD Event Instance.
void EventInstanceSetParameter (FFMODEventInstance EventInstance, FName Name, float32 Value)
 Set a parameter on an FMOD Event Instance.
void EventInstanceStop (FFMODEventInstance EventInstance, bool Release=false)
 Stop an FMOD Event Instance.
void EventInstancePlay (FFMODEventInstance EventInstance)
 Plays an FMOD Event Instance.
void EventInstanceKeyOff (FFMODEventInstance EventInstance)
 Allow an FMOD Event Instance to continue past a sustain point.
bool EventInstanceIsValid (FFMODEventInstance EventInstance)
 Returns whether this FMOD Event Instance is valid. The instance will be invalidated when the sound stops.
void EventInstanceGetParameterValue (FFMODEventInstance EventInstance, FName Name, float32 &UserValue, float32 &FinalValue)
 Get a parameter on an FMOD Event Instance.
float32 EventInstanceGetParameter (FFMODEventInstance EventInstance, FName Name)
 Will be deprecated in FMOD 2.01, use EventInstanceGetParameterValue(FFMODEventInstance, FName, float, float) instead. Get a parameter on an FMOD Event Instance.
Audio|FMOD|VCA
void VCASetVolume (UFMODVCA Vca, float32 Volume)
 Set volume on a VCA.

Variables

Variables
const TArray< FString > OutputDrivers

Function Documentation

◆ BusSetMute()

void BusSetMute ( UFMODBus Bus,
bool bMute )

Mute/Unmute this bus.

Parameters
Busbus to use
bMutemute

◆ BusSetPaused()

void BusSetPaused ( UFMODBus Bus,
bool bPaused )

Pause/Unpause all events going through this bus.

Parameters
Busbus to use
bPausedpaused

◆ BusSetVolume()

void BusSetVolume ( UFMODBus Bus,
float32 Volume )

Set volume on a bus.

Parameters
Busbus to use
Volumevolume

◆ BusStopAllEvents()

void BusStopAllEvents ( UFMODBus Bus,
EFMOD_STUDIO_STOP_MODE stopMode )

Stops all EventInstances routed into the bus.

Parameters
Busbus to use
stopModedesired stop mode

◆ EventInstanceGetParameter()

float32 EventInstanceGetParameter ( FFMODEventInstance EventInstance,
FName Name )

Will be deprecated in FMOD 2.01, use EventInstanceGetParameterValue(FFMODEventInstance, FName, float, float) instead. Get a parameter on an FMOD Event Instance.

Parameters
EventInstanceEvent instance
NameName of parameter

◆ EventInstanceGetParameterValue()

void EventInstanceGetParameterValue ( FFMODEventInstance EventInstance,
FName Name,
float32 & UserValue,
float32 & FinalValue )

Get a parameter on an FMOD Event Instance.

Parameters
EventInstanceEvent instance
NameName of parameter
UserValueParameter value as set from the public API.
FinalValueFinal combined parameter value.

◆ EventInstanceIsValid()

bool EventInstanceIsValid ( FFMODEventInstance EventInstance)

Returns whether this FMOD Event Instance is valid. The instance will be invalidated when the sound stops.

Parameters
EventInstanceEvent instance

◆ EventInstanceKeyOff()

void EventInstanceKeyOff ( FFMODEventInstance EventInstance)

Allow an FMOD Event Instance to continue past a sustain point.

Parameters
EventInstanceEvent instance

◆ EventInstancePlay()

void EventInstancePlay ( FFMODEventInstance EventInstance)

Plays an FMOD Event Instance.

Parameters
EventInstanceEvent instance

◆ EventInstanceRelease()

void EventInstanceRelease ( FFMODEventInstance EventInstance)

Release an FMOD Event Instance.

Parameters
EventInstanceEvent instance

◆ EventInstanceSetParameter()

void EventInstanceSetParameter ( FFMODEventInstance EventInstance,
FName Name,
float32 Value )

Set a parameter on an FMOD Event Instance.

Parameters
EventInstanceEvent instance
NameName of parameter
ValueValue of parameter

◆ EventInstanceSetPaused()

void EventInstanceSetPaused ( FFMODEventInstance EventInstance,
bool Paused )

Pause/Unpause an FMOD Event Instance.

Parameters
EventInstanceEvent instance
PausedWhether to pause or unpause

◆ EventInstanceSetPitch()

void EventInstanceSetPitch ( FFMODEventInstance EventInstance,
float32 Pitch )

Set pitch on an FMOD Event Instance.

Parameters
EventInstanceEvent instance

◆ EventInstanceSetProperty()

void EventInstanceSetProperty ( FFMODEventInstance EventInstance,
EFMODEventProperty Property,
float32 Value )

Set an FMOD event property on an FMOD Event Instance.

Parameters
EventInstanceEvent instance
PropertyProperty to set
ValueValue to set

◆ EventInstanceSetTransform()

void EventInstanceSetTransform ( FFMODEventInstance EventInstance,
FTransform Location )

Set 3D attributes on a FMOD Event Instance.

Parameters
EventInstanceEvent instance
LocationLocation to place event

◆ EventInstanceSetVolume()

void EventInstanceSetVolume ( FFMODEventInstance EventInstance,
float32 Volume )

Set volume on an FMOD Event Instance.

Parameters
EventInstanceEvent instance

◆ EventInstanceStop()

void EventInstanceStop ( FFMODEventInstance EventInstance,
bool Release = false )

Stop an FMOD Event Instance.

Parameters
EventInstanceEvent instance
ReleaseWhether to release the Event Instance

◆ FindAssetByName()

UFMODAsset FindAssetByName ( FString Name)

Find an asset by name.

◆ FindEventByName()

UFMODEvent FindEventByName ( FString Name)

Find an event by name.

◆ FindEventInstances()

TArray< FFMODEventInstance > FindEventInstances ( UObject WorldContextObject,
UFMODEvent Event )

Return a list of all event instances that are playing for this event. Be careful using this function because it is possible to find and alter any playing sound, even ones owned by other audio components.

Parameters
Eventevent to find instances from.

◆ GetGlobalParameterByName()

float32 GetGlobalParameterByName ( FName Name)

Will be deprecated in FMOD 2.01, use GetGlobalParameterValueByName(FName, float, float) instead. Get a global parameter from the System.

Parameters
NameName of parameter

◆ GetGlobalParameterValueByName()

void GetGlobalParameterValueByName ( FName Name,
float32 & UserValue,
float32 & FinalValue )

Get a global parameter from the System.

Parameters
NameName of parameter
UserValueParameter value as set from the public API.
FinalValueFinal combined parameter value.

◆ GetOutputDrivers()

TArray< FString > GetOutputDrivers ( )

List all output device names.

◆ IsBankLoaded()

bool IsBankLoaded ( UFMODBank Bank)

Returns true if a bank is loaded.

Parameters
Bankbank to query

◆ LoadBank()

void LoadBank ( UFMODBank Bank,
bool bBlocking,
bool bLoadSampleData )

Loads a bank.

Parameters
Bankbank to load
bBlockingdetermines whether the bank will load synchronously
bLoadSampleDatadetermines whether sample data will be preloaded immediately

◆ LoadBankSampleData()

void LoadBankSampleData ( UFMODBank Bank)

Load bank sample data.

Parameters
Bankbank to load sample data from

◆ LoadEventSampleData()

void LoadEventSampleData ( UObject WorldContextObject,
UFMODEvent Event )

Load event sample data. This can be done ahead of time to avoid loading stalls.

Parameters
Eventevent to load sample data from.

◆ MixerResume()

void MixerResume ( )

Resume the FMOD mixer. Used when resuming the application.

◆ MixerSuspend()

void MixerSuspend ( )

Suspend the FMOD mixer. Used when suspending the application.

◆ PlayEvent2D()

FFMODEventInstance PlayEvent2D ( UObject WorldContextObject,
UFMODEvent Event,
bool bAutoPlay )

Plays an event. This returns an FMOD Event Instance. The sound does not travel with any actor.

Parameters
Eventevent to play
bAutoPlayStart the event automatically.

◆ PlayEventAtLocation()

FFMODEventInstance PlayEventAtLocation ( UObject WorldContextObject,
UFMODEvent Event,
FTransform Location,
bool bAutoPlay )

Plays an event at the given location. This returns an FMOD Event Instance. The sound does not travel with any actor.

Parameters
Eventevent to play
LocationWorld position to play event at
bAutoPlayStart the event automatically.

◆ PlayEventAttached()

UFMODAudioComponent PlayEventAttached ( UFMODEvent Event,
USceneComponent AttachToComponent,
FName AttachPointName,
FVector Location,
EAttachLocation LocationType,
bool bStopWhenAttachedToDestroyed,
bool bAutoPlay,
bool bAutoDestroy )

Plays an event attached to and following the specified component.

Parameters
Eventevent to play
AttachPointNameOptional named point within the AttachComponent to play the sound at
LocationDepending on the value of Location Type this is either a relative offset from the attach component/point or an absolute world position that will be translated to a relative offset
LocationTypeSpecifies whether Location is a relative offset or an absolute world position
bStopWhenAttachedToDestroyedSpecifies whether the sound should stop playing when the owner of the attach to component is destroyed.
bAutoPlayStart the event automatically.
bAutoDestroyAutomatically destroy the audio component when the sound is stopped.

◆ SetGlobalParameterByName()

void SetGlobalParameterByName ( FName Name,
float32 Value )

Set a global parameter from the System.

Parameters
NameName of parameter
ValueValue of parameter

◆ SetLocale()

void SetLocale ( FString Locale)

Set the active locale for subsequent bank loads.

◆ SetOutputDriverByIndex()

void SetOutputDriverByIndex ( int NewDriverIndex)

Set current output device by its index from GetOutputDrivers.

◆ SetOutputDriverByName()

void SetOutputDriverByName ( FString NewDriverName)

Set current output device by name or part of the name.

◆ UnloadBank()

void UnloadBank ( UFMODBank Bank)

Unloads a bank.

Parameters
Bankbank to unload

◆ UnloadBankSampleData()

void UnloadBankSampleData ( UFMODBank Bank)

Unload bank sample data.

Parameters
Bankbank to unload sample data from

◆ UnloadEventSampleData()

void UnloadEventSampleData ( UObject WorldContextObject,
UFMODEvent Event )

Unload event sample data.

Parameters
Eventevent to load sample data from.

◆ VCASetVolume()

void VCASetVolume ( UFMODVCA Vca,
float32 Volume )

Set volume on a VCA.

Parameters
VcaVCA to use
Volumevolume

Variable Documentation

◆ OutputDrivers

const TArray<FString> OutputDrivers