I would like to be able to show a text message on screen. For example to tell a player who tries to take an object that he isn't strong enough. I know there's an action list comment, but that displays the text in the console and I want it to show in the player's window. Can this be done?
Comments
Am I misunderstanding what you mean?
For control over how narration is displayed differently to character subtitles, you can create a new Subtitles Menu that has an Appear type set to When Speech Plays, and For speakers of type to Narration Only. You can then style this menu to your liking. Bear in mind you will also have to limit your other Subtitles Menu to only show speech for characters, so that narration text doesn't appear in both.
Hi, I am working for a alike funcionality, a notification menu.
This is the objective:
When the player finish to talk with a especific character. A notification appear with the info of a new mision. This notofication desappear automaticaly in “x” time, and you can move the player while is showed.
My problem:
This menu appear with speech play and narration. I don,t know how controll the time the notification is displayed. The accion is Dialogue, Play Speech with "play in background" check. The notification appear and dissapear to soon. Where can i set a specific time, 4 seconds for example.
Go to your Variables Manager and create a new Global String variable - this will store your notification text. Note the Variable token property beneath it - it'll take the form of [Var:X], where X is the variable's ID number. This token can be inserted into a label element's text box, and will be replaced with the variable's value.
Create a new Menu to display your notifications in, and set it's Appear type to Manual. Give it a Label element, and insert this token into the Label's text field. You can even use regular text around it, e.g.:
"New notification: [var:X]"
A dedicated tutorial on displaying tokens in Menus can be found here.
Next, you'll want an ActionList that sets this Variable's value (Variable: Set), turns on the Menu (Menu: Change state), waits for 4 seconds (Engine: Wait) and turns off the Menu again (another Menu: Change state).
Then set this ActionList's When running field to Run In Background, so that the wait does not interrupt gameplay.
You can then see about integrating parameters into it, so that you can recycle this ActionList whenever you want to show a notification - and simply change the variable's value each time. This tutorial explains how they work.
Essentially, you'll want to create a new String parameter and use it to override the value in your Variable: Set Action. You can then set this parameter value (and hence the global variable value) each time you run this ActionList using the ActionList: Run Action.
I understand that the way you
propose is a better option. I tried your way and all work fine.
I describe my process to complete some
steps that gave me some diffilculties. I am a game artist without
knowledge of code and some
“technical words”. Even with this problems AC and the forum make it
so easy.
In the variable manager
work fine.
In the manager menu, in the menu
created, in text element
variable created”
Then i show the menu with (Variable:
Set), turns on the Menu (Menu: Change state),(Engine: Wait) and turns
off the Menu again (another Menu: Change state). Just the way you
subjects.
At this point, appear some
difficulties. All the actions are in the same actions list, i have
some Dialoge: Playspeech. If i check “Select run in background”
the result is that my player can move when the speech of the
characters are showed.
So i created two ActionList. One with
the variable and menu, and “Select run in background”. And other
without "Select Run in Background" and the dialogue. The
last accion is (AccionList: Run) to the first ActionList.
Maybe this is obvious but sure is
useful to a other beginner like me. Thanks