Difference between revisions of "Scripting"
From theFarWilds
(Added headings, cleaned up structure, referenced hook functions) |
m (apparently mediawiki is case sensitive) |
||
Line 2: | Line 2: | ||
Scripts are written in [http://www.angelcode.com/angelscript/sdk/docs/manual/index.html AngelScript], it has syntax similar to C. Create your scripts [http://thefarwilds.com/story/login.html here]. If you want something ask for it in the [http://thefarwilds.com/forum/viewforum.php?f=14 forum]. | Scripts are written in [http://www.angelcode.com/angelscript/sdk/docs/manual/index.html AngelScript], it has syntax similar to C. Create your scripts [http://thefarwilds.com/story/login.html here]. If you want something ask for it in the [http://thefarwilds.com/forum/viewforum.php?f=14 forum]. | ||
− | The scripts you write interact with the game via a collection of [[ | + | 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 == | == API == |
Revision as of 18:37, 3 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
- Hook Functions
- Global Functions
- Config Functions
- Player Functions
- Entity Functions
- Location Functions
- Card Functions
- Action Functions
Examples
Helpful Hints
Coordinate System : Coordinates in TFW are a bit weird. This page explains.