|
From: Olivier S. <sc...@me...> - 2008-01-27 02:38:19
|
Stian Grenborgen wrote: > We should implement a system for scripting that can be used by > maps/scenarios/campaigns. With such a system, tutorial messages should > rather be displayed by invoking some sort of trigger associated with a > display-message action. A scripting environment should include support for > setting and getting variables I can see the benefit of using a scripting engine to build scenarios. Since freecol is written in java, a scripting engine of choice is javascript. The Rhino project provides the embeddable execution engine with bidirectional integration with java: http://www.mozilla.org/rhino/ Regards, Olivier |