Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/333"
< FF7 | WorldMap Module | Script | Opcodes
Jump to navigation
Jump to search
my_wiki>BukTop m (1 revision imported) |
(Add opcode description) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
* Opcode: '''0x333''' | * Opcode: '''0x333''' | ||
− | * Name: | + | * Name: rotate current entity to model |
* Two-word opcode: No | * Two-word opcode: No | ||
Line 11: | Line 11: | ||
|- | |- | ||
| Stack | | Stack | ||
− | | | + | | Model ID |
− | | | + | | Model to which current entity model should be rotated towards |
|- | |- | ||
| Stack | | Stack | ||
− | | | + | | Angle offset |
− | | | + | | 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 |