Game logic - Ask Player – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
---- | ---- | ||
{{Ylands scripting navbox}} | {{Ylands scripting navbox}} | ||
{{DEFAULTSORT:Ask Player}} | |||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] | ||
[[Category: Game Logic | [[Category: Game Logic]] |
Revision as of 11:28, 3 January 2019
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 logic. Such answer can be then operated with using Answer Text literal.
- It will open edit window and will wait for player input
- Player's answer will return in On Answer event as as Answer Text (see example)
Properties
Question
- Text shown in the header of input prompt window
Ask player events
Related instructions