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

From Final Fantasy Inside
Jump to navigation Jump to search
m (2 revisions imported)
(Add opcode description)
 
Line 1: Line 1:
 
* Opcode: '''0x333'''
 
* Opcode: '''0x333'''
* Name: unknown
+
* Name: rotate current entity to model
 
* Two-word opcode: No
 
* Two-word opcode: No
  
Line 11: Line 11:
 
|-
 
|-
 
| Stack
 
| Stack
| Unknown
+
| Model ID
| Unknown
+
| Model to which current entity model should be rotated towards
 
|-
 
|-
 
| Stack
 
| Stack
| Unknown
+
| Angle offset
| Unknown
+
| Additional rotation after rotating towards the model, 0 means no rotation, 128 means turning its back to the model
 
|}
 
|}
  
 
==== Notes ====
 
==== Notes ====

Latest revision as of 14:42, 5 April 2020

  • Opcode: 0x333
  • Name: rotate current entity to model
  • Two-word opcode: No

Parameters

Location Name Description
Stack Model ID Model to which current entity model should be rotated towards
Stack Angle offset Additional rotation after rotating towards the model, 0 means no rotation, 128 means turning its back to the model

Notes