New Lua Script Tricks - Dsfan2/PsychEngineDS GitHub Wiki
This page will explain how to do certain lua tricks in PlayState, Main Menu, & Freeplay lua files.
setProperty('dodginTime', Bool)
- Enables / Disables the dodge mechanic for a songsetProperty('extraSong', String)
- Adds an extra song to the Story Playlist (Only works when there's one song remaining!)setProperty('unlockNextWeek', Bool)
- Determines whether or not the next week can be unlocked. (This also works in Freeplay)setProperty('skipSongBlurb', Bool)
- If true, skips the song blurb that normally appears at the start of a songsetProperty('forceMiddlescroll', Bool)
- If true, it forces the notes to be on MiddleScroll without enabling the settingsetProperty('opponentNotesVisible, Bool)
- If false, the opponent notes will be invisiblestartDSDialogue(DialogueFileDS, String)
- Starts the specified DS Dialogue file. The string is for the music file that plays when the DS Dialogue starts, but it's optional.setProperty('spritesCanTween', Bool)
- [Used on Main Menu] Enables / Disables the main menu sprites tweening when being selected / deselected- camachievement / achievement / hud - [Used on Main Menu] The hud camera for Main Menu
- camtext / text / hud - [Used on Freeplay] The hud camera for Freeplay