Difference between revisions of "00D7"
								
								Jump to navigation
				Jump to search
				
				
		
					
								
							
		|  (new template) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Icon|trilogy}} '''LAUNCH_MISSION''' | 
| − | + | <hr /> | |
| − | + | '''Description''' | |
| − | + | : Starts a new script | |
| − | + | '''Syntax''' | |
| − | + | : 00D7: create_thread [''offset''] | |
| − | + | '''Parameter''' | |
| + | : ''offset'' | ||
| + | :: The position in the [[main.scm]] from where the script is started, usually identified by a [[label]]   | ||
| − | == | + | This opcode starts a new [[script]]. It begins an execution from the offset passed as the parameter, usually a label. This opcode works similar to [[004F]] except that it has only one parameter, without extra ones. Scripts started with this opcode can use [[00D8]] within the script. | 
| − | thread | + | |
| + | ==See also== | ||
| + | * [[004F]] – starts a new script with parameters | ||
| + | * [[0417]] – launches a mission | ||
| + | * [[0A92]] – starts a new [[CLEO]] script | ||
| + | * [[Create a thread]] | ||
| + | |||
| + | [[Category:OpCodes]] | ||
Revision as of 12:55, 24 June 2015
Description
- Starts a new script
Syntax
- 00D7: create_thread [offset]
Parameter
This opcode starts a new script. It begins an execution from the offset passed as the parameter, usually a label. This opcode works similar to 004F except that it has only one parameter, without extra ones. Scripts started with this opcode can use 00D8 within the script.
See also
- 004F – starts a new script with parameters
- 0417 – launches a mission
- 0A92 – starts a new CLEO script
- Create a thread




