Editors

WORKBENCH

REFERENCE GUIDE

ConversationWhen

Appearance


ConversationWhen

Parameters


Field Type Data Type

condition

INPUT Boolean

text

INPUT String

portrait

INPUT PortraitContainer

blockUI

INPUT Boolean

sound

INPUT SoundGroupReference

option1

INPUT String

enabled1

INPUT Boolean

option2

INPUT String

enabled2

INPUT Boolean

option3

INPUT String

enabled3

INPUT Boolean

option4

INPUT String

enabled4

INPUT Boolean

selected1

OUTPUT EVENT Event

selected2

OUTPUT EVENT Event

selected3

OUTPUT EVENT Event

selected4

OUTPUT EVENT Event

portraitCharacter

INPUT WorldObject

characterAnimation

INPUT String

rewards

INPUT Inventory

Notes

Shows a quest dialog screen.
The output event corresponding to the option the player chose will be triggered.
If blockUI is enabled, the player will not be able to click on anything until the conversation is complete.
If no options are specified the selected1 event will trigger when the sound has finished playing.
If no options and no sound is specified then option1 will be replaced by '[continue]'.
You can set the portrait dynamically by assigning a character reference to the 'portraitCharacter' input. If the portrait field is set to something other than 'None' the 'portraitCharacter' input will be ignored.