SetSound3DLocation: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
Line 11: Line 11:
{{FuncParam|z|The Z axis}}
{{FuncParam|z|The Z axis}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==

Latest revision as of 18:40, 30 August 2020

SetSound3DLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the location of a 3d sound.

Syntax

SetSound3DLocation(sound, x, y, z)

Parameters

  • sound
    The sound identifier.
  • x
    The X axis
  • y
    The Y axis
  • z
    The Z axis

Return Value

  • Returns true on success.

Example

SetSound3DLocation(soundId, x, y, z)

See also