forked from teamnwah/openmw-tes3coop
838d4f0ebe
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@78 ea6a568a-9f4f-0410-981a-c910a81bb256
21 lines
385 B
Text
21 lines
385 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(6);
|
|
|
|
loop:
|
|
print("Howdy from the world of Monster scripts!");
|
|
print("This script is located in mscripts/test.mn. Check it out!");
|
|
print("GMST.sThief: ", GMST.sThief);
|
|
sleep(60);
|
|
goto loop;
|
|
}
|