R
Re_hei
Guest
I'm making an text engine working by inputting commands in the strings.
(ex: "/name[Player]Hello! My name is \c[c_red]Player!)
I'm trying moving an instance into another instance's position.
For attaching a bubble text box to an character
First, I got the character's instance id in a variable.
message = "/chr[inst_379A98D7] What a nice day."
character_id = string_copy(message, ...) => charater_id = "inst_379A98D7"
Then, I converted the string into a real number.
charater_id = real(charater_id)
[Expected] character_id = inst_379A98D7
However, the variable became 0.
[Done] character_id = 0
Whenever there is 'inst_~~' in ther variable 'charater_id', real(character_id) became 0.
I tried by changing the instance id's name, but even if there was no 'inst~', it became 0, too.
What should I do?
(ex: "/name[Player]Hello! My name is \c[c_red]Player!)
I'm trying moving an instance into another instance's position.
For attaching a bubble text box to an character
First, I got the character's instance id in a variable.
message = "/chr[inst_379A98D7] What a nice day."
character_id = string_copy(message, ...) => charater_id = "inst_379A98D7"
Then, I converted the string into a real number.
charater_id = real(charater_id)
[Expected] character_id = inst_379A98D7
However, the variable became 0.
[Done] character_id = 0
Whenever there is 'inst_~~' in ther variable 'charater_id', real(character_id) became 0.
I tried by changing the instance id's name, but even if there was no 'inst~', it became 0, too.
What should I do?