Difference between revisions of "FF7/Field/Script/Opcodes/01 REQ"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Qhimm
 
my_wiki>Qhimm
m (Fixed opcode)
Line 5: Line 5:
 
==== Memory layout ====
 
==== Memory layout ====
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x00
+
! width="40" | 0x01
 
! width="40" | ''E''
 
! width="40" | ''E''
 
! width="40" | ''P / F''
 
! width="40" | ''P / F''

Revision as of 12:57, 27 July 2005

  • Opcode: 0x01
  • Short name: REQ
  • Long name: Request remote execution (asynchronous, non-guaranteed)

Memory layout

0x01 E P / F

Arguments

  • const UByte E: The ID of the target entity.
  • const Bit[3] P: The priority at which we want to execute the remote script (high 3 bits of byte).
  • const Bit[5] F: The ID of the specific member function of E to be executed (low 5 bits of byte).

Description

Requests that a remote entity executes one of its member functions at a specified priority. The request is asynchronous and returns immediately without waiting for the remote execution to start or finish. If the specified priority is already busy executing, the request will fail silently.