User Tools

Site Tools


display_choices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
display_choices [2021/06/29 20:31] justindisplay_choices [2021/06/29 20:32] justin
Line 20: Line 20:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-display_choices("Choose a reward!", array["Food", "Potion"], entity["Sarah"]);+display_choices("Choose a reward!", array["Food", "Potions"], entity["Sarah"]);
 </code> </code>
 //Results:// A [[dialogue]] box spoken by Sarah is displayed, containing the text "Choose a reward!" along with two options for the player to choose between. //Results:// A [[dialogue]] box spoken by Sarah is displayed, containing the text "Choose a reward!" along with two options for the player to choose between.
display_choices.txt · Last modified: 2021/06/29 20:42 by justin