SetSoundPosition: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) No edit summary |
Cazomino05 (talk | contribs) (→Syntax) |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">bool setSoundPosition ( | <syntaxhighlight lang="lua">bool setSoundPosition ( element sound, int pos )</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''sound:''' | *'''sound:''' the element of the sound you want to play. | ||
*'''pos:''' An integet number representing the position you wish to seek to. | *'''pos:''' An integet number representing the position you wish to seek to. | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if the sound position was successfully moved, ''false'' otherwise. | Returns ''true'' if the sound position was successfully moved, ''false'' otherwise. | ||
==Example== | ==Example== |
Revision as of 19:55, 26 December 2008
Sets custom sound seek position.
Syntax
bool setSoundPosition ( element sound, int pos )
Required Arguments
- sound: the element of the sound you want to play.
- pos: An integet number representing the position you wish to seek to.
Returns
Returns true if the sound position was successfully moved, false otherwise.
Example
TODO
Click to collapse [-]
Client--TODO
See Also