Difference between revisions of "Focus"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= Focus = Reach unit with the camera automatically using UnitID. Centers between Unit ID 1 and Unit ID 2. Thus, if the two are identical, focuses on that unit. See Also: E...")
 
m (Xifanie moved page Event Instruction 1F to Focus)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Focus =
+
= {1F} {{IE_1F}} =
Reach unit with the camera automatically using UnitID. Centers between Unit ID 1 and Unit ID 2. Thus, if the two are identical, focuses on that unit.
+
{{IE_1F_ex}}
  
 +
{{IE_1F_desc}}
  
See Also: [[Event_Instruction_19|{19}Camera]] [[Event_Instruction_E5|{E5}WaitForInstruction]]  
+
Requires [[Event_Instruction_19|{19} {{IE_19}}]] placed after this instruction (or after [[Event_Instruction_38|{38} {{IE_38}}]]).
  
 +
You can set the Travel Speed of the Camera instruction using [[Event_Instruction_38|{38} {{IE_38}}]].
  
== Unit ID 1 : Byte (hex) ==
+
 
 +
The settings in red are overridden by the {{IE_1F}} command:
 +
 
 +
'''{{IE_19}}(<span title="X axis" style="color:red">+XXXXX</span>,<span title="Z axis" style="color:red">+ZZZZZ</span>,<span title="Y axis" style="color:red">+YYYYY</span>,<span title="Angle" style="color:green">+ANGLE</span>,<span title="Map Rotation" style="color:red">+MAPRT</span>,<span title="Camera Rotation" style="color:green">+CAMRT</span>,<span title="Zoom" style="color:green">+ZOOM%</span>,<span title="Time" style="color:red">+TIMER</span>)'''
 +
 
 +
 
 +
 
 +
See Also: [[Event_Instruction_19|{19} {{IE_19}}]] ― [[Event_Instruction_38|{38} {{IE_38}}]]
 +
 
 +
 
 +
== Unit 1 ID : Byte (hex) ==
 
ID of the unit specified in the ENTD.
 
ID of the unit specified in the ENTD.
  
  
== Unknown 1 : Byte (hex) ==
+
{{x00}}
Always x00.
 
  
  
== Unit ID 2 : Byte (hex) ==
+
== Unit 2 ID : Byte (hex) ==
 
ID of the unit specified in the ENTD.
 
ID of the unit specified in the ENTD.
  
  
== Unknown 2 : Byte (hex) ==
+
{{x00}}
Always x00.
 
  
  
== Unknown 3 : Byte (hex) ==
+
== Unknown : Byte (hex) ==
 
Almost always x00; sometimes x01.
 
Almost always x00; sometimes x01.

Latest revision as of 14:55, 6 August 2020

{1F} Focus

Focus(xID,x00,xID,x00,x00)

The next Camera instruction will automatically center between Unit 1 and Unit 2. If the two are the same unit, it focuses on that single unit.

Requires {19} Camera placed after this instruction (or after {38} FocusSpeed).

You can set the Travel Speed of the Camera instruction using {38} FocusSpeed.


The settings in red are overridden by the Focus command:

Camera(+XXXXX,+ZZZZZ,+YYYYY,+ANGLE,+MAPRT,+CAMRT,+ZOOM%,+TIMER)


See Also: {19} Camera{38} FocusSpeed


Unit 1 ID : Byte (hex)

ID of the unit specified in the ENTD.


x00 : Byte (hex)

This value is always set to x00 in the original game; it probably doesn't have a function.


Unit 2 ID : Byte (hex)

ID of the unit specified in the ENTD.


x00 : Byte (hex)

This value is always set to x00 in the original game; it probably doesn't have a function.


Unknown : Byte (hex)

Almost always x00; sometimes x01.