You are not logged in.

1

Friday, September 30th 2011, 12:30pm

loop-action (solved)

It just calls action(test2) but it doesn't loop. Where is the mistake?

Source code

1
2
3
4
5
6
7
8
9
      <action name="test">
	loop(1 LT 2, action(test2);     );
      </action>
		
	
      <action name="test2">
	delayedcall(2,	set(view.fov, 15);     );	
	delayedcall(4,	set(view.fov, 70);     );
      </action>


0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

This post has been edited 2 times, last edit by "Dr. Schneckem" (Oct 1st 2011, 4:59pm)


2

Saturday, October 1st 2011, 4:58pm

I found the mistake myself: It must be asyncloop instead of loop. *whistling*
0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

Similar threads