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

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>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...")
 
my_wiki>Aali
Line 1: Line 1:
 
* Opcode: '''0x300'''
 
* Opcode: '''0x300'''
* Name: set active entity from model id
+
* Name: load model
 
* Two-word opcode: No
 
* Two-word opcode: No
  
Line 12: Line 12:
 
| Stack
 
| Stack
 
| Model ID
 
| Model ID
| Model to set as active entity
+
| Model to load into the map
 
|}
 
|}
  
 
==== Notes ====
 
==== 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.
+
Loads a model into the map and runs its initialization function.
  
This function does extra work that could be some kind of initialization routine. There might be more to this instruction.
+
The current active entity will be changed to the entity representing the specified model.

Revision as of 01:10, 9 August 2014

  • Opcode: 0x300
  • Name: load model
  • Two-word opcode: No

Parameters

Location Name Description
Stack Model ID Model to load into the map

Notes

Loads a model into the map and runs its initialization function.

The current active entity will be changed to the entity representing the specified model.