How do you set string variables? I can't seem to do so

Started by DerexXD on

Topic category: Help with modding (Java Edition)

Last seen on 19:30, 8. Feb 2023
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you set string variables? I can't seem to do so

Like in the procedure box

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1. Create local variable. 2…
Wed, 09/25/2019 - 22:58

1. Create local variable.

2. Variable name [pick one]. Variable type: String.

3. [from Custom Variables tab] Set local [nameOfString]  to...

4. [from Text tab] " ... " option at the top.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, if you want to use…
Wed, 09/25/2019 - 23:00

Also, if you want to use numbers, like "Player food level", use:

[in Text tab] "create text with".

For example:

Set local [Stringname] to create text with: "Player hp is: "

                                                                           get entity health

Last seen on 19:30, 8. Feb 2023
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx
Wed, 09/25/2019 - 23:34

thx