Comments

Log in with itch.io to leave a comment.

How do you do an event that just does +1 in a variable ?
With the plugin command ?

Been a while since you posted this, and thank you, but is there any way to do a conditional branch with the global variables or switches?

As in, plugin command turns global switch on. NPC in game reacts differently based on whether global switch is on, regardless if same save or not.

Thanks!

If I wanted 2 global switches to be saved once you quit the game, would I set 

say I set switch 9 named "Nine"
and switch ten as "Ten"

Would the name be Nine and Ten for the name and not the #s 9 or 10?

and the value true, and save as true?

I tried all versions anyways and also setting them to true, or false, or true and false, nothing seems to work. It doesn't seem to save for some reason. But I don't quite know what I'm doing wrong xD <3 any help is mega appreciated! Thanks dude. No rush if ur busy!

(+1)

Hey there! 
Sorry for the late reply, but I got mega-busy recently. 

So, If I have understood correctly your question... Yes. Global Switches and Variables are indexed by the name you assign them into the configuration and not by their "id". Moreover, for making them interactive with the changes you do in game, the property "SAVABLE" must be set to true.

This mean that if you create a Global Switch named "FOO" and set the property "SAVABLE" to true and maybe edit them in game through one of the methods (plugin command or script call) the edit you do will be saved and accessible with the new value you assigned when you re-open again the game.

However, if you have a more specific issue that I have not satisfied with my answer, feel free to let me know :)

(+1)

Never be sorry for living life dude! Thank you, I appreciate it!