Difference between revisions of "FF7/Field/Script/Opcodes/34 PDIRA"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>Lasyan3@hotmail.com
m
Line 6: Line 6:
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
 
! width="40" | 0x34
 
! width="40" | 0x34
! width="40" | ''P''
+
! width="40" | ''C''
 
|}
 
|}
  
 
==== Arguments ====
 
==== Arguments ====
  
* '''const UByte''' ''P'': Party member to face.
+
* '''const UByte''' ''C'': Character ID to face.
  
 
==== Description ====
 
==== Description ====
  
Instantly turns the field object to face the party member specified by '''P'''. In contrast to [[FF7/Field/Script/Opcodes/35 PTURA|PTURA]], the turn is not gradual.
+
Instantly turns the field object to face the party member specified by '''C'''. In contrast to [[FF7/Field/Script/Opcodes/35 PTURA|PTURA]], the turn is not gradual, and the parameter is not a party member ID (from 0 for the first to 2 for the third in the party), but a Character ID (like in [[FF7/Field/Script/Opcodes/CD MMBud|MMBud]]).
 +
If the specified character ID is not in your party, the field object will turn to the main character.

Revision as of 11:30, 5 June 2011

  • Opcode: 0x34
  • Short name: PDIRA
  • Long name: Face Party Member

Memory layout

0x34 C

Arguments

  • const UByte C: Character ID to face.

Description

Instantly turns the field object to face the party member specified by C. In contrast to PTURA, the turn is not gradual, and the parameter is not a party member ID (from 0 for the first to 2 for the third in the party), but a Character ID (like in MMBud). If the specified character ID is not in your party, the field object will turn to the main character.