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

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>Aali
(Created page with "* Opcode: '''0x336''' * Name: unknown * Two-word opcode: No ==== Parameters ==== {| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collaps...")
 
my_wiki>Aali
Line 1: Line 1:
 
* Opcode: '''0x336'''
 
* Opcode: '''0x336'''
* Name: unknown
+
* Name: set speed (honor walkmesh)
 
* Two-word opcode: No
 
* Two-word opcode: No
  
Line 11: Line 11:
 
|-
 
|-
 
| Stack
 
| Stack
| Unknown
+
| Speed
| Unknown
+
| Value between 0 and 255
 
|}
 
|}
  
 
==== Notes ====
 
==== Notes ====
  
Inverse of [[FF7/WorldMap Module/Script/Opcodes/303|303]].
+
Sets the movement speed of the current active entity. If the entity is not controlled by the player it will keep moving in its direction until speed is set to 0 or the player takes control of it.
 +
Entities moving using this instruction will honor the walkmesh, following its contours like the player would.

Revision as of 06:47, 7 August 2014

  • Opcode: 0x336
  • Name: set speed (honor walkmesh)
  • Two-word opcode: No

Parameters

Location Name Description
Stack Speed Value between 0 and 255

Notes

Sets the movement speed of the current active entity. If the entity is not controlled by the player it will keep moving in its direction until speed is set to 0 or the player takes control of it. Entities moving using this instruction will honor the walkmesh, following its contours like the player would.