IsActorTalkingThroughActivator

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Tests if an Actor (reference) is currently talking through an Activator. The Actor (reference) must be set via the SetTalkingActivatorActor function.

Syntax

[help]
(bool) IsActorTalkingThroughActivator

Example

BuddyRef.IsActorTalkingThroughActivator

Check to see if Buddy is talking through an activator.

Notes

  • When used as a condition in dialogue, in order to return a useful result it must be set to run on the Linked Reference. No second parameter is needed.
  • Note that this is almost always used only as a condition function, since it only returns true when the actor is actually in dialogue through the activator.
  • Note that this function will return true if the actor is in a dialogue package. This includes if they are waiting to respond to another actor they are engaged in a conversation with.
  • This function will return false if the talking activator actor was set via script.

See Also