// Say something with a custom resolver
public void Say(ScriptResolver resolver, string scriptName, Event theEvent = null, int?priority = null, bool?wait = null)
{
Dictionary <string, Cottle.Value> dict = createVariables(theEvent);
string script = resolver.resolve(scriptName, dict);
if (script != null)
{
SpeechService.Instance.Say(EDDI.Instance.Ship, script, (wait == null ? true : (bool)wait), (priority == null ? resolver.priority(scriptName) : (int)priority));
}
}