Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Keep ResponsesBox visible during dialogues  (Read 146 times)

0 Members and 1 Guest are viewing this topic.

ylegrand

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 7
  • Keep trying
    • View Profile
Keep ResponsesBox visible during dialogues
« on: August 03, 2017, 09:52:11 PM »

Hi guys !

It seems that the regular behaviour during dialogues is that the Reponse Box is hidden when the actor/entities are talking, and is shown only when the user have to select the next sentence.

Is there a way to keep it visible all along the dialogue, and close it only at the end of the main branch, eventually by removing any text choice during the speech?

Thanks for your lights!
« Last Edit: August 04, 2017, 08:42:01 PM by ylegrand »
Logged

Mot

  • Lurker
  • *
  • Karma: 3
  • Offline Offline
  • Posts: 14
    • View Profile
Re: Keep ResponsesBox visible during dialogues
« Reply #1 on: August 05, 2017, 09:32:04 AM »

Salut ylegrand :)

If I understood correctly what you're trying to achieve ...

If you're interested in keeping an image/design in the background (for instance, representing a dialogue box) for the duration of a conversation, you could display a window portraying such image/design, and then use the response box on top of it.

Here're a couple of quotes which you may find useful:

Windows have an "InGame" property (you can set it in WindowEdit). The drawing order is:

In-game windows
Response box
Inventory box
Non-in-game windows

If you mark your window as "in game", it will be painted before the inventory box and the response box.

Code: WME Script
  1. SomeWindow.InGame = true; // or set the property in WindowEdit
Logged

ylegrand

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 7
  • Keep trying
    • View Profile
Re: Keep ResponsesBox visible during dialogues
« Reply #2 on: August 05, 2017, 07:38:33 PM »

Hi Mot,

Sounds perfect ! Thanks a lot, I'll test this solution :)
Logged
 

Page created in 0.218 seconds with 22 queries.