Welcome to the GameGuardian Scripting Documentation.
You can use scripts to program various hacks in the GameGuardian.
This reference documentation describes the classes and functions that can occur and be used in GameGuardian scripts.
You can discuss about this on our forums: http://gameguardian.net/forum/topic/17447-lua-scripting/
How do I get started?For getting started with scripting, the "learning-by-doing" approach often works very well, because it's fast and fun.
Start by studying and modifing the scripts that can be download from our site: http://gameguardian.net/forum/files/category/6-lua-scripts/ or take them as starting points for your own work.
Experimenting with working scripts will make it easy for you to understand the underlying key ideas and concepts. Then come back here and read the documentation as required.
You may also want to he a look at the Lua documentation and/or start asking questions at the GameGuardian forums.
How to make the simplest script, you can read on a special page: How to write a simple script
List all API methodsYou can list all methods of a gg table using this code:
print(gg)They are all described on the corresponding page: gg
Additional Resources of Information For an examples of hacks in GameGuardian, see our video gallery. The scripting implementation in GameGuardian is based on the programming language Lua. Learn more about Lua at http://www.lua.org/about.html Check out the very good Lua documentation at http://www.lua.org/docs.html It provides all the background information about the language and is an indispensable resource for advanced GameGuardian scripting! Read the book "Programming in Lua". Visit the tutorial wiki. For example scripts, see http://gameguardian.net/forum/files/category/6-lua-scripts/