Difference between revisions of "00D7"

From GTAMods Wiki
Jump to navigation Jump to search
(new template)
Line 9: Line 9:
 
:: The position in the [[main.scm]] from where the script is started, usually identified by a [[label]]  
 
:: 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.
+
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.
  
 
==See also==
 
==See also==

Revision as of 22:01, 24 June 2015

GTA III Vice City San Andreas LAUNCH_MISSION


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. In GTA III and Vice City scripts started with this opcode can use 00D8 within the script, it won't work in San Andreas.

See also