Squirrel/Client/Functions/Sounds/PlayFrontEndTrack
From Liberty Unleashed Wiki
(Difference between revisions)
(→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
This functions plays a front end track based on it's ID to the local player ( client ).
[edit] Syntax
PlayFrontEndTrack( int trackid )
[edit] Arguments
- trackid - The id of the front end track
[edit] Example
function onScriptLoad() { PlayFrontEndTrack(16); }
[edit] Notes
onScriptLoad was used in this example. More info about this event on the corresponding page.