Why do you have to place commands within a function e.g. I can place setPhysics(PHYS_Walk); within a function, however, if placed the command outside of the function I get an error message.
On a side note, do functions automatically run when you start the game? And if not, how would you call them since you cannot place any commands outside of a function?
Thanks for your time.
On a side note, do functions automatically run when you start the game? And if not, how would you call them since you cannot place any commands outside of a function?
Thanks for your time.