Difference between revisions of "FadeSound"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= {60} {{IE_60}} = Progressively fade sounds and music until they stop playing completely. Warning: This does NOT work on sounds generated by Event_Instruction_6B|{6B} {{IE_...")
 
Line 1: Line 1:
 
= {60} {{IE_60}} =
 
= {60} {{IE_60}} =
Progressively fade sounds and music until they stop playing completely. Warning: This does NOT work on sounds generated by [[Event_Instruction_6B|{6B} {{IE_6B}}]].
+
{{IE_60_ex}}
  
 +
{{IE_60_desc}}
  
See Also: [[Event_Instruction_50|{50} {{IE_50}}]] [[Event_Instruction_51|{51} {{IE_51}}]] ― [[Event_Instruction_E5|{E5} {{IE_E5}}]](x01,x00)
+
Warning: This does NOT work on sounds generated by [[Event_Instruction_6B|{6B} {{IE_6B}}]].
 +
 
 +
 
 +
See also: [[Event_Instruction_21|{21} {{IE_21}}]] ― [[Event_Instruction_22|{22} {{IE_22}}]]
  
  

Revision as of 16:16, 7 January 2014

{60} FadeSound

FadeSound(x00,TIM)

Progressively fade sounds and music until they stop playing completely.

Warning: This does NOT work on sounds generated by {6B} BGSound.


See also: {21} SoundEffect{22} SwitchTrack


Unknown : Byte (hex)

Never used, always x00.

  • x0F = Fade over a much longer period of time? Only if Time is equal to 60?
    • x01 = Adds 256 frames to fading length?
    • x02 = Adds 512 frames to fading length?
    • x03 = Adds 768 frames to fading length?
    • x04 = Adds 1024 frames to fading length?
    • x05 = Adds 1280 frames to fading length?
    • x06 = Adds 1536 frames to fading length?
    • x07 = Adds 1792 frames to fading length?
    • x08 = Adds 2048 frames to fading length?
    • x09 = Adds 2304 frames to fading length?
    • x0A-x0F = Immediately kill music?
  • x10 = Only cut down music volume by a certain amount? Only if Time is equal to 60?
  • x20 = No change?
  • x40 = No change?
  • x80 = No change?


Time : Byte (unsigned)

Time assigned in frames to complete the instruction. One frame is the equivalent of 1/60th of a second.

  • 030 = 0,5 second
  • 060 = 1 second
  • 120 = 2 seconds
  • 180 = 3 seconds
  • 255 = 4,25 seconds