SwitchTrack

From Final Fantasy Hacktics Wiki
Revision as of 04:39, 23 February 2021 by Xifanie (talk | contribs) (Created page with "= {22} {{IE_22}} = {{IE_22_ex}} {{IE_22_desc}} See Also: {21} {{IE_21}}{60} {{IE_60}} ― Event_Instruction_6B|{6B...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{22} SwitchTrack

SwitchTrack(x01,+VOL,TIM)

Toggle between the first and second song assigned in ATTACK.OUT for the scenario.


See Also: {21} SoundEffect{60} FadeSound{6B} BGSound


x01 : Byte (hex)

Always x01.


Volume : Byte (signed)

Volume based on original level of the song.

  • -127 : 100% volume
  • +000 : 0% volume
  • +063 : 50% volume
  • +127 : 100% volume


Time needed to reach new volume : Byte (unsigned)

Creates a linear effect for volume depending on the set value for a determined period of time. Volume will raise progressively until it reaches desired level.

Time is in frames; or 1/60 of seconds:

  • 060 = 1,00 second
  • 090 = 1,50 seconds
  • 240 = 4,00 seconds