Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/02 REQSW

1,014 bytes added, 12:57, 27 July 2005
no edit summary
* Opcode: '''0x02'''
* Short name: '''REQSW'''
* Long name: Request remote execution (asynchronous execution, guaranteed)

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x02
! width="40" | ''E''
! width="40" | ''P / F''
|}

==== Arguments ====
* '''const UByte''' ''E'': The ID of the target [[FF7/Field/Script/Entity|entity]].
* '''const Bit[3]''' ''P'': The [[FF7/Field/Script/Priorities|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. If the specified priority is already busy executing, the request will hold until it becomes available and only then return. The remote execution is still carried out asynchronously, with no notification of completion.
Anonymous user