Game logic - Ask Player – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ")
m (Lou Montana moved page Ylands Game logic - Ask Player to Ylands:Game logic - Ask Player: Text replacement - "Ylands " to "Ylands:")
(No difference)

Revision as of 17:30, 16 November 2022

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