FindSound

From Liberty Unleashed Wiki
Revision as of 14:35, 15 October 2010 by VRocker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function finds a Sound from an ID/name and returns the pointer. If no sound is found, null will be returned.

Syntax

  1. sound FindSound( string name )
  1. sound FindSound( int id )

Arguments

  • name - The name of the sound (including extension) e.g. boo.mp3
  • id - The ID of the sound to be found

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation for the example

  1.  
  2. -- Todo
  3.  

Notes

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox