- Joined
- Dec 22, 2014
- Messages
- 359
- Reaction score
- 111
- First Language
- English
- Primarily Uses
- RMVXA
Original script:
Trying to set the value of DWORD values in-game (0 or 1) and it's not working; think I'm messing up the value format on the reg.set line. Script call:
What's the specific format needed for that reg.set command? The documentation for this line of code starts at line 76 or so in the script but I'm still a bit confused. (Working off of rough google auto-translations for this script.)
Trying to set the value of DWORD values in-game (0 or 1) and it's not working; think I'm messing up the value format on the reg.set line. Script call:
Code:
reg = Registry.new()
reg.open(:HKEY_CURRENT_USER, "Software\Enterbrain\RGSS3")
reg.set("PlayMusic", 0)
value = reg.get("PlayMusic")
reg = nil; GC.start


