- Opcode: 0x015
- Short name: REQSW
- Long name: Request remote execution (asynchronous execution, guaranteed)
Argument
The ID of the target Entity.
Stack
…, Priority, Label => …
Description
Go to the method Label in the entity Argument with a specified Priority (top of stack = Label, below = Priority). Unlike REQ this variant is “guaranteed”: if the target priority slot is busy the handler returns 1 (retry the same instruction next frame) until the request is accepted, then continues. It only waits for the requested script to start, not to finish (asynchronous).
PC handler: SCRIPT_REQSW.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_REQSW | 0x51CED0 | Field script opcode handler (verified IDA function) |