You mean something like that?
Code: Select all
Audio.MusicTitle() string title Returns the music title from metadata (if empty, filename will be returned)
Audio.MusicTitleTag() string titleTag Returns the title tag from metadata (if empty, returns an empty string)
Audio.MusicArtistTag() string artistTag Returns the artist tag from metadata (if empty, returns an empty string)
Audio.MusicAlbumTag() string albumTag Returns the album tag from metadata (if empty, returns an empty string)
Audio.MusicCopyrightTag() string copyrightTag Returns the copyright tag from metadata (if empty, returns an empty string)
Luna Lua Events
Code: Select all
onStart()
Runs at the start of the game, after all libraries have been loaded. This is the first point in time when entities like players, NPCs and blocks are loaded in.
onLoadSection(number playerIdx)
Runs when any section is loaded. Just like onLoopSection, this function will be called once per player. Prefer onSectionChange.
onLoadSection#(number playerIdx)
Runs when section # (where # is a number between 0 and 20) is loaded. Just like onLoopSection, this function will be called once per player. Prefer onSectionChange.
Text Class
Plz don`t ask me for details, for the most time I am quite helpless on my own *caught*