Anvil
Loading...
Searching...
No Matches
Anvil.API.Events.CreatureEvents.OnConversation Class Referencesealed

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

Detailed Description

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


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