Difference between revisions of "WalkTo"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= WalkTo = Make a unit attempt walking to given location. If the unit cannot reach destination, it will only enter walking state and not move at all. Jump value affects the ...")
 
Line 1: Line 1:
= WalkTo =
+
= [[Event_Instruction_28|{28} {{IE_28}}]]  =
 
Make a unit attempt walking to given location.
 
Make a unit attempt walking to given location.
  
Line 7: Line 7:
  
  
See Also: [[Event_Instruction_29|{29}WaitWalk]] [[Event_Instruction_80|{80}March]]  [[Event_Instruction_E5|{E5}WaitForInstruction]]  
+
See Also: [[Event_Instruction_29|{29} {{IE_29}}]](xID,x00) ― [[Event_Instruction_80|{80} {{IE_80}}]]
  
  
== Unit ID : Byte (hex) ==
+
{{UnitID}}
ID of the unit specified in the ENTD.
 
  
  

Revision as of 00:13, 31 December 2013

{28} WalkTo

Make a unit attempt walking to given location.

If the unit cannot reach destination, it will only enter walking state and not move at all.

Jump value affects the path the unit will take.


See Also: {29} WaitWalk(xID,x00) ― {80} March


Unit ID : Byte (hex)

ID of the unit specified in the ENTD.


Unknown 1 : Byte (hex)

Almost always x00; Very rarely xFF, xFE or xFD


X coordinate : Byte (unsigned)

Value of the tile on the X axis.


Y coordinate : Byte (unsigned)

Value of the tile on the Y axis.


Elevation : Byte (hex)

  • 0x00 = Default elevation tile
  • 0x01 = Higher elevation tile.


Unknown 3 : Byte (hex)

Most of the time x00. Other values are too random to list.


Speed : Byte (signed)

  • +008 : Walk
  • +032 : Run


Unknown 4 : Byte (hex)

Most of the time x01; sometimes x00.