function
Toggle(default_val, save_key)
Toggles a value ON or OFF. The settings struct value is a boolian value (0 or 1).
Name | Type | Description |
---|---|---|
default_val | real |
Default value if save file doesn't exists |
save_key | string |
The name under the value is being stored in the settings struct |
struct
new Toggle(1, "blood_effects")
Copyright © 2021, Milan Varady. Built on June 28, 2021 using GMDoc.