Indeed the MultipleChoiceRequestInfo does not contain the IDialogueActor that is selected in the node. I just added this now.
If you want to add it as well, please make the following changes:
1) In MultipleChoiceNode.cs, change line #70 to the following:
2) In DialogueEventArguments.cs, change class MultipleChoiceRequestInfo to the following:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
///Send along with a OnMultipleChoiceRequest event. Holds information of the options, time available as well as a callback to be called providing the selected option
publicclassMultipleChoiceRequestInfo{
///The actor related. This is usually the actor that will also say the options
publicIDialogueActor actor;
///The available choice option. Key: The statement, Value: the child index of the option
publicDictionary<IStatement,int>options;
///The available time for a choice
publicfloatavailableTime;
///Should the previous statement be shown along the options?
publicboolshowLastStatement;
///Call this with to select the option to continue with in the DialogueTree