Difference between revisions of "0001"
								
								Jump to navigation
				Jump to search
				
				
		
					
								
							
		| Line 1: | Line 1: | ||
| − | + | {{OpCode | |
| − | + | | ini         = 0001=1,%1d% | |
| − | + | | description = Stops the execution of a [[thread]] | |
| − | + | | p1          = Time to wait (in milliseconds) | |
| − | + | | game        = GTA3, Vice City, San Andreas | |
| − | This opcode stops an execution of the thread for specified amount of time in ms. A parameter value of 0 (wait 0 ms) means that the thread will regain focus as soon as possible, whereas values greater than 0 denote the minimum time span that has to go by before the thread is revisited. | + | }} | 
| + | This opcode stops an execution of the thread for specified amount of time in ms. In both the [[Mission Builder]] and [[Sanny Builder]], you can type '''wait''' instead. A parameter value of 0 (wait 0 ms) means that the thread will regain focus as soon as possible, whereas values greater than 0 denote the minimum time span that has to go by before the thread is revisited. A wait is required for almost all [[Create a thread#Loops|loops]]. | ||
| ==Keywords== | ==Keywords== | ||
| wait, thread | wait, thread | ||
| − | |||
| − | |||
Revision as of 07:36, 17 August 2009
{{{games}}}
- Description
- Stops the execution of a thread
- Syntax
- {{{syntax1}}}
- Parameter
This opcode stops an execution of the thread for specified amount of time in ms. In both the Mission Builder and Sanny Builder, you can type wait instead. A parameter value of 0 (wait 0 ms) means that the thread will regain focus as soon as possible, whereas values greater than 0 denote the minimum time span that has to go by before the thread is revisited. A wait is required for almost all loops.
Keywords
wait, thread

