Union Bytes EngineModulesSoundsSetSoundState

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMathMeshNetworkNodeObjectParticlePhysicShaderSounds
ExamineSoundsFreeSoundGetSoundLengthGetSoundStateIsSoundLoadSoundDefinitionLoadSoundFileMoveSoundPauseSoundPlaySoundResumeSoundRotateSoundSetCollisionSoundSetSoundConeSetSoundDirectionSetSoundFrequencySetSoundRangeSetSoundStateSetSoundVolumeSoundSoundIDStopSoundUnsetCollisionSound
SpriteTexture

SetSoundState

Description

Sets the state (track position) of the specified sound.

Syntax

UBE_GetSoundState( Sound.i, TrackPosition.f )

Parameters

Sound The number of the sound.
TrackPosition The track position in seconds. Use GetSoundLength() to get the maximum track position.

Return value

None

See also

Union Bytes | Login