Mighty Script - Print Random Number with In Game Message shows always "null"

Avatar
  • Views 11,378
  • updated
  • Completed - Resolved

Create a new number (integer).

Create a script that generates a random number on the previous created integer. 

Print the integer now to the player's screen (e.g. with a "Show Ingame Message" and as content you select the integer).

Export and Quicktest the map.

Ingame Message shows always "null" - no matter how often you fire the script and generate numbers.

Game Version:
GOG Galaxy
Platform:
Windows

How would you rate the customer service you received?

Satisfaction mark by SeriousToni 6 years ago

Add a comment about quality of support you received (optional):

Avatar

How were you displaying the Number?

You usually need to display it as something like "Your number is [0]" with the [0] getting replaced by the actual Number variable.