Squirrel/Client/Functions/Sounds/PlayFrontEndTrack

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Example)
 
Line 1: Line 1:
 +
{{Squirrel/Title|PlayFrontEndTrack}}
 
This functions plays a front end track based on it's ID to the local player ( client ).
 
This functions plays a front end track based on it's ID to the local player ( client ).
  
Line 19: Line 20:
  
 
[http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Events/Misc/onScriptLoad onScriptLoad] was used in this example. More info about this event on the corresponding page.
 
[http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Events/Misc/onScriptLoad onScriptLoad] was used in this example. More info about this event on the corresponding page.
 +
 +
== Related Functions ==
 +
 +
{{Squirrel/Client/Functions/Sounds}}

Latest revision as of 17:33, 31 July 2012

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This functions plays a front end track based on it's ID to the local player ( client ).

[edit] Syntax

  1. PlayFrontEndTrack( int trackid )

[edit] Arguments

  • trackid - The id of the front end track

[edit] Example

  1. function onScriptLoad()
  2. {
  3. PlayFrontEndTrack(16);
  4. }

[edit] Notes

onScriptLoad was used in this example. More info about this event on the corresponding page.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox