strings
Number of separate strings pointers that this TEXT contains.
The strings will be
displayed
one under each other.
Range:
1 .. unlimited (default:
1)
Type:
var
Remarks:
- This parameter cannot be changed at runtime.
- If the text contains
more than one string, individual strings can be accessed through
a (text.pstring)[] index suffix, just like variable
arrays.
- String pointers that are not defined through the string() parameter
are initialized to empty string
structs
(without char array).
They can be filled with content using
str_cpy() at runtime.
- If the text contains only one string, this parameter can be omitted.
Example:
TEXT* welcome_txt =
{
...
strings = 5; // 5 different STRINGs
}
See also:
text,
layer, pos_x, pos_y,
size_y, offset_y,
font,
string, alpha,
flags
► latest
version online