FANDOM


Supported In:
C D/S/W W-CD
? ? ?

The scripting command ChooseNumeric has the opcode (0x30).

Arguments

  • n (byte) - Number of options (1-9)
  • Array of bytes (byte * n) - (N-1) each a one byte line number corresponding to the option selected.


Description

Displays number buttons (up to 9) in the action button window (replacing the shoot, magic, rest, kick, etc...), waits for a user to select a valid choice, and jumps to the corresponding line number. The last option always continues to the next line, even if N (or more than N) line numbers are given. If fewer than N line numbers are given, then the options without matching line numbers simply continue to the next line.

Notes

Setting the number of options to 0 prevents the player from making any choice, effectively locking the game. Setting the number of options to greater than 9 causes an overflow and crashes the game. Don't do these things. It's not nice.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.