Toggle menu
2
16
17
151
The My Singing Monsters Modding Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Menu Editing: Difference between revisions

From The My Singing Monsters Modding Wiki
Content added Content deleted
(Created page with "''This article is a stub. You can help the My Singing Monsters Modding Wiki by expanding it.'' '''Functions''' are short strings of code used internally to cause something inside of the game to happen. This article lists all of those functions. ==Functions found in the menu files== This section lists all functions that you can find and use inside of the menu XML files. game.popPopUp() This function closes the current menu on the screen. game.pushPopUp() This functi...")
 
(added more)
Line 5: Line 5:
==Functions found in the menu files==
==Functions found in the menu files==
This section lists all functions that you can find and use inside of the menu XML files.
This section lists all functions that you can find and use inside of the menu XML files.

==="game." Functions===


game.popPopUp()
game.popPopUp()
Line 11: Line 13:
game.pushPopUp()
game.pushPopUp()
This function opens almost any xml file found in the 'menus' folder. Usage: game.pushPopUp("filename").
This function opens almost any xml file found in the 'menus' folder. Usage: game.pushPopUp("filename").

game.loadWorldContext()
This function is what is used to bring you back to your Islands after visiting the Top Islands.

game.setMonsterVolume()
This function sets the selected Monster's volume. Usage: game.setMonsterVolume("number")

game.isXIsland()
This function calls something to happen/appear if you are on a certain Island. Usage: "if game.isCelestialIsland() then" followed by what you want to happen. You can replace the "X" with whatever Island you want it to be. Wublin Island and the Colossingum are labelled as "Underling" and "Battle", instead of their real names when using this function.

Revision as of 23:31, 31 October 2023

This article is a stub. You can help the My Singing Monsters Modding Wiki by expanding it.

Functions are short strings of code used internally to cause something inside of the game to happen. This article lists all of those functions.

Functions found in the menu files

This section lists all functions that you can find and use inside of the menu XML files.

"game." Functions

game.popPopUp()

This function closes the current menu on the screen.

game.pushPopUp()

This function opens almost any xml file found in the 'menus' folder. Usage: game.pushPopUp("filename").

game.loadWorldContext()

This function is what is used to bring you back to your Islands after visiting the Top Islands.

game.setMonsterVolume()

This function sets the selected Monster's volume. Usage: game.setMonsterVolume("number")

game.isXIsland()

This function calls something to happen/appear if you are on a certain Island. Usage: "if game.isCelestialIsland() then" followed by what you want to happen. You can replace the "X" with whatever Island you want it to be. Wublin Island and the Colossingum are labelled as "Underling" and "Battle", instead of their real names when using this function.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.