Logo
Spacer News Wiki Features F.A.Q. Team members Screenshots Download Messageboard Bug tracker Submit files
Top divider

Lua Startscripts

[edit] How to create startscripts in Lua

Spring supports loading startscripts written in Lua. These are the scripts that can be selected when starting the spring executable directly.

Spring will load and execute all files named *.lua in the startscripts directory on startup. To appear as a selectable startscript, the script must subclass the Script class, and create an instance of it.

For information on how to create these scripts, see the information about the synced Lua interface.

Retrieved from "http://spring.clan-sy.com/wiki/Lua_Startscripts"

This page has been accessed 494 times. This page was last modified 00:13, 1 August 2007.