Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/321"
< FF7 | WorldMap Module | Script | Opcodes
Jump to navigation
Jump to search
my_wiki>Aali (Created page with "* Opcode: '''0x321''' * Name: unknown * Two-word opcode: No ==== Parameters ==== {| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collaps...") |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
* Opcode: '''0x321''' | * Opcode: '''0x321''' | ||
− | * Name: | + | * Name: face point |
* Two-word opcode: No | * Two-word opcode: No | ||
Line 11: | Line 11: | ||
|- | |- | ||
| Stack | | Stack | ||
− | | | + | | Point Index |
− | | | + | | Index of the point to face |
|} | |} | ||
==== Notes ==== | ==== Notes ==== | ||
− | + | Appears to be used to set the active entity's direction to face a given point number. | |
+ | |||
+ | Examples: | ||
+ | |||
+ | Used to ensure, when entering the edge of gold saucer desert, that the player goes away from the desert and not towards it (by facing Cloud towards it, then rotating him 180 degrees) |
Latest revision as of 08:30, 10 October 2024
- Opcode: 0x321
- Name: face point
- Two-word opcode: No
Parameters
Location | Name | Description |
---|---|---|
Stack | Point Index | Index of the point to face |
Notes
Appears to be used to set the active entity's direction to face a given point number.
Examples:
Used to ensure, when entering the edge of gold saucer desert, that the player goes away from the desert and not towards it (by facing Cloud towards it, then rotating him 180 degrees)