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 (4 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
==== Description ====
 
==== Description ====
  
Rotates the field object towards 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.

Latest revision as of 05:16, 23 May 2019

  • 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.