Create a new instance of the Talk action
Get the alias used to identify this action
Returns true
if this action requires another GameObject
to work, otherwise false
.
Execute the Talk action
Alias used to identify the kind of Talk action
Array of game objects, where the first index is a reference to the game object on which the Talk action should be executed.
Result of the Talk action or undefined
if unhandled
Private
executeExecute the Talk action
Reference to the game object on which the Talk action should be executed
Optional
choiceId: numberOptional ID of the specific choice to handle
Result of the Talk action or undefined
if unhandled
Execute the Talk action with a choice
Alias containing the character alias and choice id
Result of the Talk action or undefined
if unhandled
Class used to represent the Talk action