dantogno / FishStory

A narrative-driven fishing game.
0 stars 2 forks source link

Dialog triggered via script does not show the character portrait #137

Closed dantogno closed 4 years ago

dantogno commented 4 years ago

Repro steps

  1. Load main level
  2. walk to the left until the script triggers the mayor dialog (woman in black dress) Results No portrait. image Expected Results Portrait displays just like when player talks to anyone else. We might need to add a parameter to the TryShow function.

The code in question is in MainLevel.cs ln 292. DialogBox.TryShow()

Cabrill commented 4 years ago

You'll need to call SetDialoguePortraitFor(NPC) to specify which NPC is talking. Example set for Welcome Dialog.