Difference between revisions of "FF7/Field/Script/Opcodes/24 WAIT"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>Synergy Blades
m (Description)
Line 15: Line 15:
 
==== Description ====
 
==== Description ====
  
Pauses current script execution for a specific amount of time. Rather than a specific time value, the amount specifies the number of frames to wait to be drawn. Since the game runs at 30fps, WAIT(0x1E) (or WAIT(30) in decimal) will pause script execution for 1 second, WAIT(0x96) will pause for 5 seconds, and so on.
+
Pauses current script execution for a specific amount of time. Rather than a specific time value in milliseconds/seconds, the amount specifies the number of frames that must be drawn before execution resumes. Since the game runs at 30fps, WAIT(0x1E) (or WAIT(30) in decimal) will pause script execution for 1 second, WAIT(0x96) will pause for 5 seconds, and so on.

Revision as of 01:17, 18 August 2006

  • Opcode: 0x24
  • Short name: WAIT
  • Long name: Wait

Memory layout

0x24 A

Arguments

  • const UShort A: Amount (number of frames) to wait.

Description

Pauses current script execution for a specific amount of time. Rather than a specific time value in milliseconds/seconds, the amount specifies the number of frames that must be drawn before execution resumes. Since the game runs at 30fps, WAIT(0x1E) (or WAIT(30) in decimal) will pause script execution for 1 second, WAIT(0x96) will pause for 5 seconds, and so on.