Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Click on the newly added Custom event and on the left side in details, add Input parameter called “Text” , which is Text string variable

...

Once created, it is neccessarry that the “Pass-by-Reference” tickbox is ticked

...

Dragging from the white line of Custom Event select function “Trim Text”. Here you need to plug in the editable texboxt box once again as its textbox. In the function Trim Text you also need to set how many characters the textbox can contain, as well as which characters are valid (for example here, player can input only letters and not numbers).

...