Anvil
Anvil.API.Events.CreatureEvents.OnConversation Class Reference

Called when this creature starts a conversation, or hears a message they are listening for. More...

+ Inheritance diagram for Anvil.API.Events.CreatureEvents.OnConversation:
+ Collaboration diagram for Anvil.API.Events.CreatureEvents.OnConversation:

Public Member Functions

void PauseConversation ()
 
void ResumeConversation ()
 

Static Public Member Functions

static void Signal (NwCreature creature)
 

Properties

AssociateCommand AssociateCommand [get]
 Gets the associate command that matched the message sent to this creature. More...
 
NwCreature Creature = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()! [get]
 Gets the creature attached to this conversation. More...
 
NwGameObjectLastSpeaker = NWScript.GetLastSpeaker().ToNwObject<NwGameObject>() [get]
 Gets the last NwGameObject that spoke in this conversation. More...
 
int ListenPattern = NWScript.GetListenPatternNumber() [get]
 Gets the listen pattern that matched the message sent to this creature. More...
 
NwPlayerPlayerSpeaker = NWScript.GetPCSpeaker().ToNwPlayer() [get]
 Gets the NwPlayer speaker in this conversation. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when this creature starts a conversation, or hears a message they are listening for.

Property Documentation

◆ AssociateCommand

AssociateCommand Anvil.API.Events.CreatureEvents.OnConversation.AssociateCommand
get

Gets the associate command that matched the message sent to this creature.

◆ Creature

NwCreature Anvil.API.Events.CreatureEvents.OnConversation.Creature = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()!
get

Gets the creature attached to this conversation.

◆ LastSpeaker

NwGameObject? Anvil.API.Events.CreatureEvents.OnConversation.LastSpeaker = NWScript.GetLastSpeaker().ToNwObject<NwGameObject>()
get

Gets the last NwGameObject that spoke in this conversation.

◆ ListenPattern

int Anvil.API.Events.CreatureEvents.OnConversation.ListenPattern = NWScript.GetListenPatternNumber()
get

Gets the listen pattern that matched the message sent to this creature.

◆ PlayerSpeaker

NwPlayer? Anvil.API.Events.CreatureEvents.OnConversation.PlayerSpeaker = NWScript.GetPCSpeaker().ToNwPlayer()
get

Gets the NwPlayer speaker in this conversation.


The documentation for this class was generated from the following file: