Game logic - Ask Player – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


<gallery>
<gallery>
Image:Ylands-Editor-Ask-Player-example1.png|Input dialog
Image:Ylands-Editor-Ask-Player-example1.png|Input prompt
Image:Ylands-Editor-Ask-Player-example1b.png|On Answer
Image:Ylands-Editor-Ask-Player-example1b.png|On Answer
Image:Ylands-Editor-Ask-Player-example1c.png|Input prompt
Image:Ylands-Editor-Ask-Player-example1c.png|Input prompt

Revision as of 17:05, 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



Template:Ylands scripting navbox