Difference between revisions of "IsActorTalkingThroughActivator"

From GECK

(Syntax)
(Syntax)
 
Line 7: Line 7:
 
  [''ActorREF''.]IsActorTalkingThroughActivator ''TalkingActivatorREF''
 
  [''ActorREF''.]IsActorTalkingThroughActivator ''TalkingActivatorREF''
  
When used as a condition in dialogue, no second condition is needed- the function simply returns whether or not the player is talking to a talking activator.
+
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.
  
 
=='''Examples'''==
 
=='''Examples'''==

Latest revision as of 11:58, 13 July 2010

Description

IsActorTalkingThroughActivator Tests if the player is currently talking to an activator which has been associated to this actor via the SetTalkingActivatorActor function. It is called on an Actor (reference).

Syntax

[ActorREF.]IsActorTalkingThroughActivator TalkingActivatorREF

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.

Examples

BuddyRef.IsActorTalkingThroughActivator ComputerRef

Check to see if Buddy is talking through the computer.

Notes

  • 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.


See Also

IsTalkingActivatorActor
SetTalkingActivatorActor

Reference

None provided.

Personal tools