Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/300"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Aali
(Created page with "* Opcode: '''0x300''' * Name: set active entity from model id * Two-word opcode: No ==== Parameters ==== {| border="1" cellspacing="1" cellpadding="3" style="border: 1px sol...")
 
Qhimm>Aali
(Created page with "* Opcode: '''0x300''' * Name: set active entity from model id * Two-word opcode: No ==== Parameters ==== {| border="1" cellspacing="1" cellpadding="3" style="border: 1px sol...")
(No difference)

Revision as of 09:17, 5 August 2014

  • Opcode: 0x300
  • Name: set active entity from model id
  • Two-word opcode: No

Parameters

Location Name Description
Stack Model ID Model to set as active entity

Notes

Sets the active entity for this context to the entity representing the specified model. The chosen entity remains the active entity until a new entity is selected or the function returns.

This function does extra work that could be some kind of initialization routine. There might be more to this instruction.