This may be the best idea I've ever had for my game engine for debugging purposes but I doubt if it can be done.
I have a little text box which allows me to enter commands to help me debug my game. Certain words will trigger loops which write log files showing object values and other words show hidden objects which list values in my objects so I can see what is happening when things go wrong.
Is it possible to add a function where I can change these values using this method?
EXAMPLE: (if i typed...)
set ActiveObject13 H 13
Could I then - Store the value 13 in alterable value H in ActiveObject13 during the runtime?
This would allow me to test all kinds of things live in the game.
I'm thinking I could run a loop called [set-value] if my text box starts with set. Then strip two strings and an integer from words 2, 3 and 4 to store the relevant values in the relevant object but I doubt there's a way to write to a value in this way??