49
edits
Changes
Jump to navigation
Jump to search
m
→Notes
* Opcode: '''0x204''' & the rest of the 200 series of opcodes
* Name: run model function
* Two-word opcode: No
Runs the function (opcode - 0x204) in the context of the specified model. Opcode 204 runs function 0, opcode 205 runs function 1 etc.
An invalid model ID (>=64) causes it to run a system function in the specified function on context of the current active entity, it . This is unclear if this used throughout the worldmap scripts where certain model functions call system functions (model ID is intended behaviorthen set to 65535, or 0xFFFF in hex).