1 /* this is the WIP test for the parser...
2 * constantly adding stuff here to see if things break
4 void(string) print = #1;
5 void(string,string) print2 = #1;
6 void(string,string,string) print3 = #1;
7 string(float) ftos = #2;
9 void(entity) kill = #4;
11 $frame stand1 stand2 standX
20 void() stand1 = [ 0, stand2 ] {
23 //self.nextthink = time + 0.1;
25 print("In stand 1...\n");
26 print3("--> self.frame should be 0, is ", ftos(self.frame), "\n");
29 void() stand2 = [ 1, stand1 ] {
30 print("In stand 2...\n");
31 print3("--> self.frame should be 1, is ", ftos(self.frame), "\n");
37 print3("Foo ", ftos(self), "\n");
39 self.nextthink = time + 0.1;
47 print("Setting think\n");
50 print("Running think\n");
52 print("Running from 'self'\n");