Game logic - Ask Player – Ylands
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Description= | =Description= | ||
Game logic used | Game logic used to query specific answer from a player. When the game logic is initiated trough [[Ylands Tile - Show input prompt|'''Show prompt''']] instruction an input dialog will be shown to a player. Player then can enter and submit the answer, which will call [[Ylands Tile - Input Prompt On Answer|'''On Answer''']] event inside the Ask player Game logic. Such answer can be then operated with by using '''Answer text''' literal. | ||
<gallery> | |||
Image:Ylands-Editor-Ask-Player-example1.png|Input dialog | |||
Image:Ylands-Editor-Ask-Player-example1b.png|On Answer | |||
Image:Ylands-Editor-Ask-Player-example1c.png|Input prompt | |||
</gallery> | |||
=Properties= | =Properties= | ||
* | ===Question=== | ||
*Text shown in the header of input prompt window | |||
= | =Ask player events= | ||
* | *[[Ylands Tile - Input Prompt On Answer|On Answer]] | ||
* | *[[Ylands Tile - Dialogue On Open-Close|On Open / Close]] | ||
= | =Related instructions= | ||
* | *[[Ylands Tile - Show input prompt|Show question]] | ||
*[[Ylands Tile - Input prompt question|Get / Set question]] | |||
* | |||
---- | ---- | ||
{{Ylands scripting navbox}} | {{Ylands scripting navbox}} |
Revision as of 16:03, 2 December 2018
Description
Game logic used to query specific answer from a player. When the game logic is initiated trough Show prompt instruction an input dialog will be shown to a player. Player then can enter and submit the answer, which will call On Answer event inside the Ask player Game logic. Such answer can be then operated with by using Answer text literal.
Properties
Question
- Text shown in the header of input prompt window
Ask player events
Related instructions