mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-22 17:53:51 +00:00
f194b91b60
- started moving config - created base class for live objects, and example derived classes for lights and doors git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@67 ea6a568a-9f4f-0410-981a-c910a81bb256
20 lines
347 B
Text
20 lines
347 B
Text
// A sample class
|
|
class Test : Object;
|
|
|
|
test()
|
|
{
|
|
state = printMessage;
|
|
}
|
|
|
|
state printMessage
|
|
{
|
|
// This state code will run as long as the object is in this state.
|
|
begin:
|
|
sleep(10);
|
|
|
|
loop:
|
|
print("Howdy from the world of Monster scripts!");
|
|
print("This script is located in mscripts/test.mn. Check it out!");
|
|
sleep(60);
|
|
goto loop;
|
|
}
|