FF7/Field/Script/Opcodes/02 REQSW
< FF7 | Field | Script | Opcodes(Redirected from FF7/Field/Field script/Opcodes/02 REQSW)
Jump to navigation
Jump to search
- Opcode: 0x02
- Short name: REQSW
- Long name: Request send wait (asynchronous execution, guaranteed)
Memory layout
| 0x02 | E | P / F |
|---|
Arguments
- const UByte E: The ID of the target actor.
- 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 actors event to be executed (low 5 bits of byte).
Description
Requests that a remote actor executes one of its events at a specified priority. If the specified priority is already busy with some other event (higher priority may be 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.