03E4

From GTAMods Wiki
Jump to navigation Jump to search
03E4 in action

GTA III Vice City San Andreas SET_TEXT_RIGHT_JUSTIFY


Description
Sets the text to be right-aligned
Syntax
03E4: set_text_draw_align_right [int]
Parameter
[int]
0 = not right-aligned (default), 1 = right-aligned

This opcode sets the text to be right-aligned. Rather than using the position of the text to align the left side of the text, the opcode allows using its position to align the right side of the text. The left edge of the screen determines the wrapping of the left side of the text. Text that is right-aligned is not affected by the wrap x or centering of the text. The lead image on this page shows text displayed in Vice City at the x position of 100.0 and y positions starting at 10.0 and separated by 100.0. The first line uses the default alignment and the second line uses right-alignment. Note that the first line is wrapped due to the default wrap x of 182.0.

Keywords

set, draw, intro, text, right, justify, align, alignment