I need light in-game scripting.
I need light in-game scripting.
I need to be able to access a few predetermined variables, perform basic looping, if/then stuff, and math while my game is already running. How is the best way of going about this? Can I set up Lua or another scripting language with out much trouble to do this or do I have to make my own mini-scripting language?
try out gamemonkey, it seems to be perfect for you:
http://www.somedude.net/gamemonkey
and if u need help have a look at these pages:
http://www.gamedev.net/reference/progra ... gmscript1/
http://www.gamedev.net/reference/progra ... gmscript2/
http://www.somedude.net/gamemonkey
and if u need help have a look at these pages:
http://www.gamedev.net/reference/progra ... gmscript1/
http://www.gamedev.net/reference/progra ... gmscript2/