Squirrel/Client/Functions/Sounds/PlayFrontEndTrack

From Liberty Unleashed Wiki
Revision as of 11:58, 27 July 2012 by Shadow (Talk | contribs)

Jump to: navigation, search

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

Contents

Syntax

  1. PlayFrontEndTrack( int trackid )

Arguments

  • trackid - The id of the front end track

Example

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

Notes

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

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox