Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/04 PREQ

1,034 bytes added, 13:02, 27 July 2005
no edit summary
* Opcode: '''0x04'''
* Short name: '''PREQ'''
* Long name: Request party entity execution (asynchronous, non-guaranteed)

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

==== Arguments ====
* '''const UByte''' ''PM'': The current party member ID (0, 1 or 2).
* '''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 ''PM'' 's entity to be executed (low 5 bits of byte).

==== Description ====
Requests that the entity associated with a character in the current party 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.
Anonymous user

Navigation menu