jik
Knight
I am seeing a need for my self of some global (short term) variables, which I believe the reg and s variables are used for, but I want to make sure I'm not stepping on toes.
For example, reg0 usually holds the value of a spawned object. But in general, are regs (and string regs) just a short term holding spot? In the case with string regs, I see that quest seem to hold values till the quest ends. Or is this value reset each time the quest is checked or a dialog comes up?
As I have been starting to use them, I try and search for a reg that is not used in native (such as reg40-45) when doing stuff to not step on toes, but that is a bit frustrating, and it would be nicer to know the answers to the above questions.
(info I would add to the tutorial update in the appendix)
For example, reg0 usually holds the value of a spawned object. But in general, are regs (and string regs) just a short term holding spot? In the case with string regs, I see that quest seem to hold values till the quest ends. Or is this value reset each time the quest is checked or a dialog comes up?
As I have been starting to use them, I try and search for a reg that is not used in native (such as reg40-45) when doing stuff to not step on toes, but that is a bit frustrating, and it would be nicer to know the answers to the above questions.
(info I would add to the tutorial update in the appendix)