Difference between revisions of "FF7/Field/Script/Opcodes/B6 DIRA"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>BukTop
m (2 revisions imported)
m (4 revisions imported)
 
(No difference)

Latest revision as of 05:18, 23 May 2019

  • Opcode: 0xB6
  • Short name: DIRA
  • Long name: Direction to Entity

Memory layout

0xB6 E

Arguments

  • const UByte E: Entity ID to direct towards.

Description

Instantaneously directs the field object towards the entity with the given ID. As with MOVA, the entity ID is an offset in the entire entity list, and not into the visible object/entities list, and will also have no effect if a non-visible entity is given.