Difference between revisions of "Scripting"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Object Types)
Line 11: Line 11:
 
How you create your own object type in scripts? I don't know this stuff yet.
 
How you create your own object type in scripts? I don't know this stuff yet.
  
 +
=[[Global_Functions|Global Functions]]=
 +
{{:Global_Functions}}
  
=[[Object_Types|Object Types]]=
+
[[Global_Functions|''Go to main article...'']]
 +
 
 +
 
 +
=[[Global_Properties|Global Properties]]=
 +
{{:Global_Properties}}
 +
 
 +
[[Global_Properties|''Go to main article...'']]
 +
 
 +
 
 +
=[[Object_Types|Objects]]=
 
{{:Object_Types}}
 
{{:Object_Types}}
  

Revision as of 17:52, 12 August 2012

Placeholder

KAG uses angelscript for scripting.

Basics

Iunno, some stuff here about the general way of using scripts (relationship between .cfg and .as), proper way to add a new script, different ways of using scripts (rules, blobs, players?).

Basic info on what kind of things are bound. Global functions and properties and the various object types + their functions and properties.

How you create your own object type in scripts? I don't know this stuff yet.

Global Functions

Global functions are functions that are globally available to be called by any script.


Go to main article...


Global Properties

Global properties are variables that are globally available (for reading/writing) in any script.


Go to main article...


Objects

Something here about the general concept of objects and their types.


Go to main article...