Difference between revisions of "0459"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
 
Line 1: Line 1:
{{Icon|t}} '''TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME
: Ends a named [[thread|script]]
+
| description = Ends all [[script]]s with this name
'''Syntax'''
+
| syntax1    = 0459: end_thread_named '[''string'']'
: 0459: end_thread_named '[''string'']'
+
| syntax2    = end_thread_named '[''string'']'
: end_thread_named '[''string'']'
+
| p1t        = [''string'']
'''Parameter'''
+
| p1d        = 7-character [[03A4|name]]
: [''string'']
+
| native      = [[TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME]]
:: 7-character string
+
}}
'''Native analog'''
 
: [[TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME]]
 
  
This opcode stops the execution of a [[thread|script]] by its name. Scripts can be named through opcode [[03A4]]. Any upper case letters (A-Z) are converted to lower case by the game internally. If there are other scripts with the same name, all of them will be ended. This opcode was never called in the [[Main.scm|original script]] of GTA III.
+
This opcode stops the execution of all [[script]]s with this name. Scripts can be named through opcode [[03A4]] and more than one scripts can have the same name. Any upper case letters (A-Z) are converted to lower case by the game internally. This opcode was never called in the [[Main.scm|original script]] of GTA III.
  
 
== Keywords ==
 
== Keywords ==
 
thread, script, end, terminate, name
 
thread, script, end, terminate, name
  
[[Category:OpCodes]]
+
== See also ==
 +
* {{Icon|t}} [[004E]], ends this script

Latest revision as of 01:49, 6 December 2016

GTA III Vice City San Andreas TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME


Description
Ends all scripts with this name
Syntax
0459: end_thread_named '[string]'
end_thread_named '[string]'
Parameter
[string]
7-character name
Native analog
TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME

This opcode stops the execution of all scripts with this name. Scripts can be named through opcode 03A4 and more than one scripts can have the same name. Any upper case letters (A-Z) are converted to lower case by the game internally. This opcode was never called in the original script of GTA III.

Keywords

thread, script, end, terminate, name

See also

  • GTA III Vice City San Andreas 004E, ends this script