Anvil
Anvil.API.Events.PlaceableEvents.OnConversation Class Reference

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

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

Public Member Functions

void PauseConversation ()
 
void ResumeConversation ()
 

Static Public Member Functions

static void Signal (NwPlaceable placeable)
 

Properties

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 placeable. More...
 
NwPlaceable Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()! [get]
 Gets the placeable attached to this conversation. 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 placeable starts a conversation, or hears a message they are listening for.

Property Documentation

◆ LastSpeaker

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

Gets the last NwGameObject that spoke in this conversation.

◆ ListenPattern

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

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

◆ Placeable

NwPlaceable Anvil.API.Events.PlaceableEvents.OnConversation.Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()!
get

Gets the placeable attached to this conversation.

◆ PlayerSpeaker

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

Gets the NwPlayer speaker in this conversation.


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