Game logic - Ask Player – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Ylands " to "[[Ylands:")
m (Text replacement - "[[File:{{PAGENAME}}.png|right|400px|Properties]]↵" to "<!-- [[File:{{PAGENAME}}.png|right|400px|Properties]] --> ")
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:


= Properties =
= Properties =
[[File:{{PAGENAME}}.png|right|400px|Properties]]
<!-- [[File:{{PAGENAME}}.png|right|400px|Properties]] -->
=== Question ===
=== Question ===
*Text shown in the header of input prompt window
*Text shown in the header of input prompt window
Line 27: Line 27:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}


[[Category: Game Logic]]
[[Category: Game Logic]]
[[Category: Ylands 0.10]]
[[Category: Ylands 0.10]]

Latest revision as of 21:16, 8 August 2024

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