hi, i've been working on a little project which is inspired by the game void bastards.
my current problem is that i basically want to have some sort of currency that i collect throughout a level and back at my hub level i want to spend this.
but i don't know how to write a value into a variable that is then also saved and can be accessed after that level is complete, if that is even possible.
i tried having like a global script in my wad file that i access through the #include command. this works with regular scripts which is useful, but not so much for global variables, so it seems.
Question
zzzornbringer
hi, i've been working on a little project which is inspired by the game void bastards.
my current problem is that i basically want to have some sort of currency that i collect throughout a level and back at my hub level i want to spend this.
but i don't know how to write a value into a variable that is then also saved and can be accessed after that level is complete, if that is even possible.
i tried having like a global script in my wad file that i access through the #include command. this works with regular scripts which is useful, but not so much for global variables, so it seems.
any suggestions greatly appreciated.
Edited by zzzornbringerShare this post
Link to post
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.