Difference between revisions of "00BA"

From GTAMods Wiki
Jump to navigation Jump to search
(Undo revision 16284 by Link2012 (talk))
Line 4: Line 4:
 
| description = Prints a high-priority [[Text#Big message|big message]]
 
| description = Prints a high-priority [[Text#Big message|big message]]
 
| syntax1    = 00BA: text_styled '[''string'']' time [''int1''] style [''int2'']
 
| syntax1    = 00BA: text_styled '[''string'']' time [''int1''] style [''int2'']
| syntax2    = PRINT_BIG [''string''] [''int1''] [''int2'']
 
 
| p1t        = [''string'']
 
| p1t        = [''string'']
 
| p1d        = [[GXT]] key
 
| p1d        = [[GXT]] key

Revision as of 14:56, 18 November 2016

GTA III Vice City San Andreas PRINT_BIG


Description
Prints a high-priority big message
Syntax
00BA: text_styled '[string]' time [int1] style [int2]
Parameter
[string]
GXT key
[int1]
Time in milliseconds
[int2]
Style (see below)
Native analog
PRINT_BIG

This opcode prints a big message. Several messages of different styles can be displayed on the screen at the same time. Displaying another message of the same style will overwrite the previous message except when the style involves fading (styles 1 and 2) — the message will be overwritten once the fading sequence finishes before the time on the next message ends. This opcode takes priority over 0217, another opcode that behaves almost like this opcode but with a lower priority.

Styles of text

GTA III Vice City San Andreas Description
Style 1 Style 1 Style 1 The text fades in, displays for five seconds, and then fades out. The style follows the exact fading sequence and so does not strictly follow time duration. If the time to display is longer than five seconds, it repeats fading in and out until the time has expired.
Style 2 Style 2 Style 2 The text fades in, displays for five seconds, and then fades out. The style follows the exact fading sequence and so does not strictly follow time duration. If the time to display is longer than five seconds, it repeats fading in and out until the time has expired.
Style 3 Style 3 Style 3 The text fades in but will keep on displaying regardless of time set to display it. This should not be used.
Style 4 Style 4 Style 4 The text pops in and out.
Style 5 Style 5 Style 5 The text pops in and out.
Style 6 Style 6 Style 6 The text pops in and out. If time to display is long, displays for three seconds, then disappears for five seconds, then reappear, repeating the sequence until the time has expired. Strictly follows time duration unlike styles 1 and 2.
Style 7 The text pops in and out.
Liberty City Stories Description
[1] The text fades in, displays for five seconds, and then fades out. If the time to display is longer than five seconds, it repeats fading in and out until the time has expired.
[2] The text pops in, displays for five seconds, and then pops out. If the time to display is longer than five seconds, it repeats popping in and out until the time has expired.
[3] The text fades in but will keep on displaying regardless of time set to display it.
[4] The text pops in and out.
[5] The text pops in and out.
[6] The text pops in and out.
[7] The text pops in, displays for five seconds, and then pops out. If the time to display is longer than five seconds, it repeats popping in and out until the time has expired.
[8] The text pops in and out.
[9] The text pops in and out.

Keywords

print, text, style, styled, big