Author Topic: on screen message  (Read 2054 times)

Offline Nirran

  • Captain
  • ***
  • Posts: 94
    • View Profile
on screen message
« on: November 07, 2023, 09:40:13 am »
ive looked for a method to print a message on screen,but so far have been unable to find one,is it possible?

Offline Nord

  • Commander
  • *****
  • Posts: 1747
  • The Gate is open.
    • View Profile
Re: on screen message
« Reply #1 on: November 07, 2023, 01:29:51 pm »
In tactical game or in geoscape?

Offline Nirran

  • Captain
  • ***
  • Posts: 94
    • View Profile
Re: on screen message
« Reply #2 on: November 07, 2023, 06:42:36 pm »
In tactical game or in geoscape?

tactical

Offline Nord

  • Commander
  • *****
  • Posts: 1747
  • The Gate is open.
    • View Profile
Re: on screen message
« Reply #3 on: November 09, 2023, 11:03:26 am »
You can not create pop up window, but you can make a flash message, just as when no time units left.
It can be done via scripting:
Code: [Select]
            battle_game.flashMessage "STR_TEXT_STRING" NumericVariable; #Display text string and numeric variable

Offline Nirran

  • Captain
  • ***
  • Posts: 94
    • View Profile
Re: on screen message
« Reply #4 on: November 10, 2023, 12:48:42 am »
You can not create pop up window, but you can make a flash message, just as when no time units left.
It can be done via scripting:
Code: [Select]
            battle_game.flashMessage "STR_TEXT_STRING" NumericVariable; #Display text string and numeric variable

is it possible to extends the flash duration on screen?

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: on screen message
« Reply #5 on: November 10, 2023, 11:06:58 am »
here is alternative version of this function that that work similar but couple times longer show given text

Offline Nirran

  • Captain
  • ***
  • Posts: 94
    • View Profile
Re: on screen message
« Reply #6 on: November 12, 2023, 05:35:26 am »
here is alternative version of this function that that work similar but couple times longer show given text

is it a scripting function?

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: on screen message
« Reply #7 on: November 12, 2023, 04:27:05 pm »
yes

Offline Nirran

  • Captain
  • ***
  • Posts: 94
    • View Profile
Re: on screen message
« Reply #8 on: November 12, 2023, 08:45:20 pm »
yes

what is the code tho?lol u didnt post it

edit : nvm found flashLongMessage
« Last Edit: November 12, 2023, 09:59:01 pm by Nirran »