Can you hide a variable?
Hulkman508
29 Aug 2011, 08:00What I'm trying to do is have an inventory limit. Whenever you pick up an item it increases the numeric variable "inventory" by 1, and when you drop/lose it decreases by 1. What I dont want however is the variable inventory actually showing, because I feel it shouldn't be there and I already have quite a few variables in my game (health, mana, skills etc) so I am trying to reduce, variable clutter.
If this isn't possible are there any other suggestions at how I could go about this? Thanks
If this isn't possible are there any other suggestions at how I could go about this? Thanks

Alex
30 Aug 2011, 07:28Just use a normal variable - it doesn't have to be a status variable, so just remove it from the status variables list.
It will still work normally, it just won't be displayed any more.
It might be a good idea to ensure that you set it to an initial value in your game start script though (use the "set a numeric variable" script command).
It will still work normally, it just won't be displayed any more.
It might be a good idea to ensure that you set it to an initial value in your game start script though (use the "set a numeric variable" script command).
Hulkman508
31 Aug 2011, 08:35Thanks for relpying. I was under the impression that all variables had to be status variables. This will tidy up my game in terms of variables.