Difference between revisions of "Scripting"

From theFarWilds
Jump to: navigation, search
Line 7: Line 7:
 
Functions you can call:
 
Functions you can call:
 
[[Global Functions]]
 
[[Global Functions]]
 +
 
[[Config Functions]]
 
[[Config Functions]]
 +
 
[[Player Functions]]
 
[[Player Functions]]
 +
 
[[Entity Functions]]
 
[[Entity Functions]]
 +
 
[[Location Functions]]
 
[[Location Functions]]
 +
 
[[Card Functions]]
 
[[Card Functions]]
 +
 
[[Action Functions]]
 
[[Action Functions]]
  

Revision as of 18:28, 19 March 2010

This is the start of the scripting API. It will be expanded over time. If you want something ask for it in the forum. Create your scripts here: [1]. Scripts are written in AngelScript, it has syntax similar to C.


Functions you can implement: Script_Functions

Functions you can call: Global Functions

Config Functions

Player Functions

Entity Functions

Location Functions

Card Functions

Action Functions


Scripting Examples


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