Chat Data
1. Cannot Print 0
Or 1
At The Start Of The Line In xsChatData()
¶
Description: If a 0
or 1
character occurs at the beginning of a string that is being chatted to the screen using xsChatData
, then the 0
or 1
characters do not appear in the message.
Expected Behaviour: 0
or 1
should be shown correctly at the beginning of the line if used in an xsChatData
function
Reproduction Steps:
- Create a new scenario or RMS
- Create a new XS script with the following code:
1 2 3 4 5 6 7 8 9
void main() { // expected `1 the one at the start isn't visible` but // prints ` the one at the start isn't visible` xsChatData("1 the one at the start isn't visible"); // expected `0 the zero at the start isn't visible` but // prints ` the zero at the start isn't visible` xsChatData("0 the zero at the start isn't visible"); }
- Include the script in the scenario or RMS
- When a game is played using the scenario or RMS, any
1
or0
at the beginning of the lines are omitted in the resulting message on screen.