Assuming faceImagePrefix="Face ", this would show image "Face Lenny.png" from your extras folder)Ex 2: (Removes the face graphic)Flow ScriptsDialog will wait for some attribute to reach a value before proceeding.Ex: (Will wait until the game attribute, "Cutscene Ongoing", becomes false before continuing with the dialog.)(You can refer to the bottom of this document for info on potential values for ATTR.)Inserts a pause into the dialog.Ex: (Dialog will be paused for half a second before continuing.)Shows a pointed and waits for user input.Ex: Oh, hello! My name is Chuck.
However, the "Mars" option is only shown if the associated game attribute, "Space Unlocked", is true.)Extra GlyphsIncludes an image in your dialog, inline with the text.Ex: I love you!! (Displays the image "heart.png" from the extras folder after the text)Character ScriptsDisplays a character name + nameboċx: (Display the name Lenny in a namebox)Removes the namebox.Display a character face/portrait.Ex: (This actually depends on the preference you have set for this extension. Since the word following the colon is INT, it expects an integer.To learn more about the types of variables, see the bottom of this document.Dialog OptionsDisplay a list of options for the player to choose from.Ex: Where would you like to go today?("The Pool", "Mars", and "Back Home" options are listed out for the player, and they lead to dialog chunks name "Pool Part 1", "Space Center", and "Home" respectively. The word following the colon indicates the type of variable it expects.CHANNEL:INT will be replaced with the sound channel you would like to play the sound on.
#Stencyl dialog extension how to#
How to Use This APINote that anything that is underlined is variable, meaning that it requires you to replace it with your own data.Ex:SOUND:STRING will be replaced with the name of your sound in Stencyl.