Difference between revisions of "00D7"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Icon|trilogy}} '''LAUNCH_MISSION'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = LAUNCH_MISSION
: Starts a new script
+
| description = Starts a [[Create a script|new script]]
'''Syntax'''
+
| syntax1    = 00D7: create_thread [''label'']
: 00D7: create_thread [''offset'']
+
| p1t        = [''label'']
'''Parameter'''
+
| p1d        = The position in the script it will go to, usually identified by a [[label]]
: ''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. In GTA III and Vice City scripts started with this opcode can use [[00D8]] within the script, it won't work in San Andreas.
+
This opcode starts a new script and begins an execution from the label. It works similar to [[004F]] except that it has only one parameter, without extra ones. In GTA III and Vice City, scripts started with this opcode can use opcode [[00D8]] within the script; it does not work in San Andreas.
  
==See also==
+
== See also ==
* [[004F]] &ndash; starts a new script with parameters
+
* {{Icon|t}} [[004F]], starts a new script with parameters
* [[0417]] &ndash; launches a mission
+
* {{Icon|t}} [[0417]], launches a mission
* [[0A92]] &ndash; starts a new [[CLEO]] script
+
* {{Icon|t}} [[0A92]], starts a new [[CLEO]] script
* [[Create a thread]]
 
 
 
[[Category:OpCodes]]
 

Revision as of 06:12, 27 January 2016

GTA III Vice City San Andreas LAUNCH_MISSION


Description
Starts a new script
Syntax
00D7: create_thread [label]
Parameter
[label]
The position in the script it will go to, usually identified by a label

This opcode starts a new script and begins an execution from the label. It works similar to 004F except that it has only one parameter, without extra ones. In GTA III and Vice City, scripts started with this opcode can use opcode 00D8 within the script; it does not work in San Andreas.

See also

  • GTA III Vice City San Andreas 004F, starts a new script with parameters
  • GTA III Vice City San Andreas 0417, launches a mission
  • GTA III Vice City San Andreas 0A92, starts a new CLEO script