Adding Dialogue: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
|-
|-
| BroadcastScope || Enum || This determines which players will receive the dialogue broadcast. By default, all players will hear / see dialogue as it is triggered.  If you set the scope to 'instigator only', then only the person who caused the dialogue to play will see it.
| BroadcastScope || Enum || This determines which players will receive the dialogue broadcast. By default, all players will hear / see dialogue as it is triggered.  If you set the scope to 'instigator only', then only the person who caused the dialogue to play will see it.
|}
'''Display Properties'''
These properties control the appearance of the dialogue on the HUD, as well as storing the text that should be displayed.
{| class="wikitable sortable" style="min-width:75%;text-align:left;"
! Variable Name
! Variable Type
! Description
|-
|-
| Dialogue_Header || Localized String || This text will appear at the top of the dialogue window.  It is often the name of the person who is speaking, but it doesn't have to be.  If you type 'self' in this field it will display your steam name.
|-
| Dialogue_Text || Enum || This determines which players will receive the dialogue broadcast. By default, all players will hear / see dialogue as it is triggered.  If you set the scope to 'instigator only', then only the person who caused the dialogue to play will see it.
|}
|}

Revision as of 17:50, 7 November 2013

Dialogue can be a good way to get players interested in your map's story.


General Dialogue Properties

Variable Name Variable Type Description
bLooping Bool If set to true, this dialogue will continue playing over and over.
BroadcastScope Enum This determines which players will receive the dialogue broadcast. By default, all players will hear / see dialogue as it is triggered. If you set the scope to 'instigator only', then only the person who caused the dialogue to play will see it.

Display Properties

These properties control the appearance of the dialogue on the HUD, as well as storing the text that should be displayed.

Variable Name Variable Type Description
Dialogue_Header Localized String This text will appear at the top of the dialogue window. It is often the name of the person who is speaking, but it doesn't have to be. If you type 'self' in this field it will display your steam name.
Dialogue_Text Enum This determines which players will receive the dialogue broadcast. By default, all players will hear / see dialogue as it is triggered. If you set the scope to 'instigator only', then only the person who caused the dialogue to play will see it.