Difference between revisions of "FF7/Field/Script/Opcodes/35 PTURA"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
m
my_wiki>Synergy Blades
m
Line 19: Line 19:
 
==== Description ====
 
==== Description ====
  
Rotates (turns) the field object to face the party member specified by '''P''' (from 0 to 2), at the speed '''S'''.
+
Rotates (turns) the field object to face the party member specified by '''P''' (from 0 to 2), at the speed '''S'''. The "standard" value for '''A''' is 2.

Revision as of 19:14, 7 September 2006

  • Opcode: 0x35
  • Short name: PTURA
  • Long name: Turn to Party Member

Memory layout

0x35 P S A

Arguments

  • const UByte P: Party member to turn towards.
  • const UByte S: Speed of turning; the larger the number, the slower the turn.
  • const UByte A: Larger numbers increase the likelihood that the turn will be anticlockwise.

Description

Rotates (turns) the field object to face the party member specified by P (from 0 to 2), at the speed S. The "standard" value for A is 2.