Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/018"

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>Aali
(Created page with "* Opcode: '''0x018''' * Name: push distance from active entity to light * Two-word opcode: No ==== Parameters ==== {| border="1" cellspacing="1" cellpadding="3" style="borde...")
 
my_wiki>Aali
Line 1: Line 1:
 
* Opcode: '''0x018'''
 
* Opcode: '''0x018'''
* Name: push distance from active entity to light
+
* Name: push distance from active entity to point
 
* Two-word opcode: No
 
* Two-word opcode: No
  
Line 11: Line 11:
 
|-
 
|-
 
| Stack
 
| Stack
| Light ID
+
| Point ID
| Light to compare distance to
+
| Point to compare distance to
 
|}
 
|}
  
 
==== Notes ====
 
==== Notes ====
  
Pushes the distance between the active entity and the light specified. It is unclear exactly how the distance calculation works or what values to expect from this function.
+
Pushes the distance between the active entity and the point specified. It is unclear exactly how the distance calculation works or what values to expect from this function.

Revision as of 19:51, 5 August 2014

  • Opcode: 0x018
  • Name: push distance from active entity to point
  • Two-word opcode: No

Parameters

Location Name Description
Stack Point ID Point to compare distance to

Notes

Pushes the distance between the active entity and the point specified. It is unclear exactly how the distance calculation works or what values to expect from this function.