Difference between revisions of "038F"
Jump to navigation
Jump to search
(page rewrite) |
|||
Line 1: | Line 1: | ||
− | ''' | + | {{Icon|t}} '''LOAD_SPRITE''' |
+ | <hr /> | ||
+ | '''Description''' | ||
+ | : Loads the texture | ||
+ | '''Syntax''' | ||
+ | : 038F: load_texture "[''string'']" as [''int''] | ||
+ | '''Parameter''' | ||
+ | : [''string''] | ||
+ | :: The name of the texture | ||
+ | : [''int''] | ||
+ | :: Memory slot | ||
− | + | This opcode loads the texture from the texture dictionary loaded through opcode [[0390]] into the memory slot. Any upper case letters (A-Z) are converted to lower case by the game internally. Opcode [[038D]] is used to draw the texture onto the screen. This opcode was never called in the [[Main.scm|original script]] of GTA III and Vice City. | |
− | + | == Keywords == | |
− | + | load, texture, txd, sprite | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 00:08, 1 August 2015
Description
- Loads the texture
Syntax
- 038F: load_texture "[string]" as [int]
Parameter
- [string]
- The name of the texture
- [int]
- Memory slot
This opcode loads the texture from the texture dictionary loaded through opcode 0390 into the memory slot. Any upper case letters (A-Z) are converted to lower case by the game internally. Opcode 038D is used to draw the texture onto the screen. This opcode was never called in the original script of GTA III and Vice City.
Keywords
load, texture, txd, sprite