Difference between revisions of "Scripting"
From King Arthur's Gold Wiki
(Created page with "stub page for scripting documentation") |
Splittingred (Talk | contribs) |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Placeholder | |
+ | |||
+ | KAG uses [http://www.angelcode.com/angelscript angelscript] for scripting. | ||
+ | |||
+ | The [http://www.angelcode.com/angelscript/sdk/docs/manual/doc_script.html angelscript documentation] is very good and worth looking at as a start point: http://www.angelcode.com/angelscript/sdk/docs/manual/doc_script.html | ||
+ | |||
+ | =Basics= | ||
+ | |||
+ | * [[Creating a Mod]] | ||
+ | * [[Installing a Mod]] | ||
+ | * [[Adding a Mod to a Gamemode]] | ||
+ | * [[Hooks]] | ||
+ | |||
+ | =[[Global_Functions|Global Functions]]= | ||
+ | |||
+ | These may be slightly out of date. | ||
+ | |||
+ | {{:Global_Functions}} | ||
+ | [[Global_Functions|''Go to main article...'']] | ||
+ | |||
+ | |||
+ | =[[Global_Properties|Global Properties]]= | ||
+ | |||
+ | These may be slightly out of date. | ||
+ | |||
+ | {{:Global_Properties}} | ||
+ | [[Global_Properties|''Go to main article...'']] | ||
+ | |||
+ | |||
+ | =[[Object_Types|Objects]]= | ||
+ | |||
+ | These may be slightly out of date. | ||
+ | |||
+ | {{:Object_Types}} | ||
+ | [[Object_Types|''Go to main article...'']] | ||
+ | |||
+ | [[Category:Scripting]] |
Latest revision as of 04:57, 24 January 2013
Placeholder
KAG uses angelscript for scripting.
The angelscript documentation is very good and worth looking at as a start point: http://www.angelcode.com/angelscript/sdk/docs/manual/doc_script.html
Basics
Global Functions
These may be slightly out of date.
Global functions are functions that are globally available to be called by any script.
Global Properties
These may be slightly out of date.
Global properties are variables that are globally available (for reading/writing) in any script.
Objects
These may be slightly out of date.
Something here about the general concept of objects and their types.