1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 00:45:34 +00:00
openmw/mscripts/test.mn

18 lines
327 B
Text
Raw Normal View History

// 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);
print("Howdy from the world of Monster scripts!");
print("This script is located in mscripts/test.mn. Check it out!");
goto begin;
}