Difference between revisions of "04ED"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 04ED=1,%1s%
+
| games      = {{Icon|VC}} {{Icon|SA}}
 +
| command    = REQUEST_ANIMATION
 
| description = Loads an [[animation]] file into memory
 
| description = Loads an [[animation]] file into memory
| p1          = Name of the animation file
+
| syntax1    = {{Icon|VC}} 04ED: load_animation '[''string'']'
| game        = [[Vice City]], [[San Andreas]]
+
| syntax2    = {{Icon|SA}} 04ED: load_animation  "[''string'']"
| native      = [[REQUEST_ANIMS]]
+
| p1t        = [''string'']
 +
| p1d        = Animation file
 
}}
 
}}
This opcode is almost always required when using animation opcodes that needs to read from a specific animation file. The only animation file that does not need loading is "PED." Opcode [[04EE]] checks if the animation is loaded and opcode [[04EF]] marks the animation as no longer needed.
 
  
==Keywords==
+
This opcode is almost always required when using animation opcodes that need to read from a specific animation file. The only animation file that does not need loading is "PED". Opcode [[04EE]] checks if the animation is loaded and opcode [[04EF]] marks the animation as no longer needed.
 +
 
 +
== Keywords ==
 
load, request, animation
 
load, request, animation

Latest revision as of 11:11, 3 December 2016

Vice City San Andreas REQUEST_ANIMATION


Description
Loads an animation file into memory
Syntax
Vice City 04ED: load_animation '[string]'
San Andreas 04ED: load_animation "[string]"
Parameter
[string]
Animation file

This opcode is almost always required when using animation opcodes that need to read from a specific animation file. The only animation file that does not need loading is "PED". Opcode 04EE checks if the animation is loaded and opcode 04EF marks the animation as no longer needed.

Keywords

load, request, animation