Difference between revisions of "FF7/Field/Script/Opcodes/02 REQSW"
Jump to navigation
Jump to search
my_wiki>Qhimm |
m (3 revisions imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
==== Description ==== | ==== 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 | + | 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 block until it becomes available and only then return. The remote execution is still carried out asynchronously, with no notification of completion. |
Latest revision as of 05:14, 23 May 2019
- Opcode: 0x02
- Short name: REQSW
- Long name: Request remote execution (asynchronous execution, guaranteed)
Memory layout
0x02 | 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. If the specified priority is already busy executing, the request will block until it becomes available and only then return. The remote execution is still carried out asynchronously, with no notification of completion.