Difference between revisions of "Script"
Jump to navigation
Jump to search
m |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | A ''' | + | A '''script''' is a collection of [[opcode|instructions]] that performs a specific task when executed by a virtual machine. |
− | + | == Mission Script == | |
+ | [[Opcode]]s: | ||
+ | * [[00D7]] – Starts a script | ||
+ | * [[004F]] – Starts a script with additional parameters | ||
+ | * [[004E]] – Ends the current script | ||
+ | * [[03A4]] – Gives a name to the script | ||
+ | * [[0459]] – Ends a named script | ||
− | + | [[CLEO]] Opcodes: | |
− | + | * [[0A92]] – Starts a ''CLEO'' script | |
+ | * [[0A93]] – Ends a ''CLEO'' script | ||
+ | * [[0A95]] – Enables saving for a ''CLEO'' script | ||
+ | * [[0A9F]] – Returns the pointer to the current script | ||
+ | * [[0AAA]] – Returns the pointer to a named CLEO script | ||
+ | * [[0ABA]] – Ends a named ''CLEO'' script | ||
− | * [[ | + | [[Native function]]s: |
− | * [[ | + | * [[REQUEST_SCRIPT]] |
− | * [[ | + | * [[START_NEW_SCRIPT]] |
− | * [[ | + | * [[START_NEW_SCRIPT_WITH_ARGS]] |
− | * [[ | + | * [[TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME]] |
− | * [[ | + | * [[TERMINATE_THIS_SCRIPT]] |
+ | * [[MARK_SCRIPT_AS_NO_LONGER_NEEDED]] | ||
+ | * [[STORE_SCRIPT_VALUES_FOR_NETWORK_GAME]] | ||
+ | * [[THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME]] | ||
+ | * [[THIS_SCRIPT_SHOULD_BE_SAVED]] | ||
+ | {{Incomplete}} | ||
− | + | == See also == | |
− | * [[ | + | * [[Mission Scripting (Overview)]] |
− | * [[ | + | * {{Icon|SA}} [[Create a script]] |
− | + | * {{Icon|SA}} Script structure in memory - [http://www.gtamodding.com/index.php?title=Memory_Addresses_(SA)#Threads] [http://www.gtamodding.com/index.php?title=Saves_(GTA_SA)#Block_1:_Script] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | * {{Icon|SA}} [[ | ||
− | == | + | == External links == |
− | * [[Wikipedia: | + | * [[Wikipedia:Computer_program|Program]] |
− | |||
− | {{N|4|SA}} | + | {{N|4|SA|VC|3}} |
[[Category:Mission_Scripting]] | [[Category:Mission_Scripting]] |
Latest revision as of 19:53, 5 September 2016
A script is a collection of instructions that performs a specific task when executed by a virtual machine.
Mission Script
- 00D7 – Starts a script
- 004F – Starts a script with additional parameters
- 004E – Ends the current script
- 03A4 – Gives a name to the script
- 0459 – Ends a named script
CLEO Opcodes:
- 0A92 – Starts a CLEO script
- 0A93 – Ends a CLEO script
- 0A95 – Enables saving for a CLEO script
- 0A9F – Returns the pointer to the current script
- 0AAA – Returns the pointer to a named CLEO script
- 0ABA – Ends a named CLEO script
- REQUEST_SCRIPT
- START_NEW_SCRIPT
- START_NEW_SCRIPT_WITH_ARGS
- TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME
- TERMINATE_THIS_SCRIPT
- MARK_SCRIPT_AS_NO_LONGER_NEEDED
- STORE_SCRIPT_VALUES_FOR_NETWORK_GAME
- THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME
- THIS_SCRIPT_SHOULD_BE_SAVED
This section is incomplete. You can help by fixing and expanding it.
See also
- Mission Scripting (Overview)
- Create a script
- Script structure in memory - [1] [2]
External links
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |