Difference between revisions of "FF7/Field/Script/Opcodes/BD ASPED"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
Set global model animation speed. Lager the value - faster all animation played by this model.
 
Set global model animation speed. Lager the value - faster all animation played by this model.
  
Default value = 16
+
Default value = 16 -> relative animation time scale 1
 +
 
 +
ASPED 8 -> relative animation time scale 0.5
 +
 
 +
ASPED 32 -> relative animation time scale 2

Latest revision as of 14:42, 12 November 2020

  • Opcode: 0xBD
  • Short name: ASPED
  • Long name: Animation Speed

Memory layout

0xBD B S

Arguments

  • const UByte B: Bank to retrieve direction value, or zero if it is specified as a literal value.
  • const UShort S: Speed of animation.

Description

Set global model animation speed. Lager the value - faster all animation played by this model.

Default value = 16 -> relative animation time scale 1

ASPED 8 -> relative animation time scale 0.5

ASPED 32 -> relative animation time scale 2