Squirrel/Client/Functions/Sounds/PlayFrontEndTrack

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "This functions plays a front end track based on it's ID to the local player ( client ). == Syntax == <code>PlayFrontEndTrack( int trackid )</code> == Arguments == * '''tra...")
 
(Example)
Line 11: Line 11:
 
== Example ==
 
== Example ==
  
<code>
+
<code lang="squirrel">function onScriptLoad()
function onScriptLoad()
+
 
{
 
{
 
PlayFrontEndTrack(16);
 
PlayFrontEndTrack(16);
}
+
}</code>
</code>
+

Revision as of 11:57, 27 July 2012

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

Syntax

  1. PlayFrontEndTrack( int trackid )

Arguments

  • trackid - The id of the front end track

Example

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

Variants
Actions
Navigation
scripting
Toolbox