Dialog Action: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
(Added descriptions for element properties, possible uses, and related elements) |
mNo edit summary |
||
| Line 36: | Line 36: | ||
|- | |- | ||
!DelaySeconds | !DelaySeconds | ||
|Time to wait before the next action. Useful for pacing your dialog | |Time to wait before the next action. Useful for pacing your dialog. | ||
|- | |- | ||
!TargetPlayer | !TargetPlayer | ||
| | |GUID of the target. | ||
|- | |- | ||
!Skippable | !Skippable | ||
| Line 45: | Line 45: | ||
|- | |- | ||
!Speaker | !Speaker | ||
|Each speaker has a separate channel which can only play one file at a time. Possible values are:<br>NARRATOR, INSTRUCTOR, COPILOT | |Each speaker has a separate channel which can only play one file at a time. Possible values are:<br>NARRATOR, INSTRUCTOR, COPILOT. | ||
|- | |- | ||
!Priority | !Priority | ||
| Line 57: | Line 57: | ||
|- | |- | ||
!EndActions DelaySeconds | !EndActions DelaySeconds | ||
|How long to wait before activating the | |How long to wait before activating the EndActions. | ||
{{Infobox-MSFS-Script-Element-End}} | {{Infobox-MSFS-Script-Element-End}} | ||
Revision as of 08:34, 11 October 2021
| This page is a work-in-progress. Generic message - Please note some detail may possibly be missing or incorrect. |
| Applicable |
|---|
| MSFS |
| MS Flight |
| LM P3D5 |
| LM P3D4 |
| LM P3D3 |
| LM P3D2 |
| LM P3D |
| FS World |
| FSXSE |
| FSXA |
| FSX |
| FS2004 |
| FS2002 |
| XP11 |
| XP10 |
| XP9 |
This plays dialog for the copilot and atc. It can use sound files or text-to-speech (TTS). The dialogAction can also show subtitles.
DialogAction
Fires when a counter reaches a specified target.
| Text | Mandatory text for the subtitles and Text-To-Speech. Can be localized. |
|---|---|
| SoundFileName | File name of the sound to be played. Put your sound files in the sound folder. |
| PackageName | |
| DelaySeconds | Time to wait before the next action. Useful for pacing your dialog. |
| TargetPlayer | GUID of the target. |
| Skippable | |
| Speaker | Each speaker has a separate channel which can only play one file at a time. Possible values are: NARRATOR, INSTRUCTOR, COPILOT. |
| Priority | |
| CanBeSuspended | |
| EndActions | You can link actions to play after the dialog has finished. |
| EndActions DelaySeconds | How long to wait before activating the EndActions. |
Adding dialog to your mission gives it a new level and enables you to better tell stories and make a cool experience. You can use the build in Text-To-Speech or your own audio recordings.
Possible uses
- ATC chatter
- Let the copilot give feedback on the landing
Related elements and alternatives
- For non-dialog sounds use a OneShotSoundAction, PlaySoundAction, or SoundEffectAction.
- For music use a PlayListAction