- Sets the text to be right-aligned
- 03E4: set_text_draw_align_right [int]
- 0 = not right-aligned (default), = 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.
set, draw, intro,, right, justify, align, alignment