Game logic - Ask Player – Ylands

From Bohemia Interactive Community
Revision as of 16:17, 2 December 2018 by Rudy.cz (talk | contribs)
Jump to navigation Jump to search

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 answered event as as Answer text (see example)

Properties

Question

  • Text shown in the header of input prompt window

Ask player events

Related instructions



Template:Ylands scripting navbox