I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:DialogTrigger (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> Trigger >> DialogTrigger
Package: 
U2Dialog

DialogTrigger.uc Created By: Mike Baldwin Created On: 3/29/2001 $Author: Mbaldwin $ $Date: 12/17/02 1:10p $ $Revision: 12 $

Properties[edit]

Property group 'DialogTrigger'[edit]

bEnforceTalkRadius[edit]

Type: bool

Actors leaving dialog trigger radius will be removed from dialog

DialogList[edit]

Type: array<DialogListT>

list of Dialogs Trees to trigger for these participants

Participants[edit]

Type: array<string>

speaker strings of characters that must be present

Internal variables[edit]

ActorsInRange[edit]

Type: array<Actor>

references to the actors that are within trigger radius

bIsInSession[edit]

Type: bool


iCurrent[edit]

Type: int

current tree

Default value: -1

LastDialogTime[edit]

Type: float

tracks the the time that the previous dialog ended in order to determine when the next "Delay" will allow delivery of successive nodes

Default values[edit]

Property Value
TriggerType TT_AnyProximity

Structs[edit]

DialogListT[edit]

name Topic 
dialog tree topic
float Delay 
time to wait before "enabling" the next entry in the list
bool bEnabled 
available for characters to speak
bool bLeaveEnabled 
after delivery -- normally false

Functions[edit]

Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


Touch[edit]

event Touch (Actor Other)

Overrides: Trigger.Touch


UnTouch[edit]

event UnTouch (Actor Other)

Overrides: Trigger.UnTouch


Other instance functions[edit]

Add[edit]

function Add (Actor NewActor)


AllCanTalk[edit]

function bool AllCanTalk ()


CanTalk[edit]

function bool CanTalk (Actor Who)


CheckTopic[edit]

function bool CheckTopic (int Which)


Clear[edit]

function Clear ()


CurrentTopic[edit]

function name CurrentTopic ()


GetTouchingActors[edit]

function GetTouchingActors ()


Remove[edit]

function Remove (Actor OldActor)


SelectTopic[edit]

function bool SelectTopic ()


SessionFinished[edit]

function SessionFinished ()


StartSession[edit]

function StartSession ()