Hi everyone!
I put a little function into a dialog, so that when the player asks something to another character (let's call this character Jim), Jim answers with a number which is different at anytime.
To do so, I put this very little function into the dialog_request:
VariableX = Random(200);
cJim.Say("%p", VariableX);
The problem is: when Jim says this number into the game, the number is always formed by 8 characters (so, with 000 at the beginning) and hexadecimal! For example: 0000001E.
Where is my mistake? How can I avoid this and have displayed just a decimal number with no zeros at the beginning?
Thanks!
I put a little function into a dialog, so that when the player asks something to another character (let's call this character Jim), Jim answers with a number which is different at anytime.
To do so, I put this very little function into the dialog_request:
VariableX = Random(200);
cJim.Say("%p", VariableX);
The problem is: when Jim says this number into the game, the number is always formed by 8 characters (so, with 000 at the beginning) and hexadecimal! For example: 0000001E.

Where is my mistake? How can I avoid this and have displayed just a decimal number with no zeros at the beginning?
Thanks!