1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-22 17:53:51 +00:00
openmw-tes3mp/mscripts/test.mn
nkorslund f194b91b60 - completed moving music management to Monster script.
- 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
2008-11-14 23:02:24 +00:00

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;
}