Difference between revisions of "Scripting"

From theFarWilds
Jump to: navigation, search
(API)
(API)
Line 5: Line 5:
  
 
== API ==
 
== API ==
 +
* [[Preprocessor]]
 
* [[Hook Functions]]
 
* [[Hook Functions]]
 
* [[Global Functions]]
 
* [[Global Functions]]

Revision as of 19:12, 14 April 2010

Scripts are written in AngelScript, it has syntax similar to C. Create your scripts here. If you want something ask for it in the forum.

The scripts you write interact with the game via a collection of Hook Functions. These hook functions are called by the game at the appropriate times and execute your code. See the #Examples section for more details.

API

Examples

Scripting Examples

Helpful Hints

Coordinate System : Coordinates in TFW are a bit weird. This page explains.