1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00
OpenMW/mscripts/test.mn

22 lines
385 B
Plaintext
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(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;
}