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

(Redirected from UE2:DialogListT (U2XMP))
Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> Trigger >> DialogTrigger

Contents

Package: 
U2Dialog

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

[edit] Properties

[edit] Property group 'DialogTrigger'

[edit] bEnforceTalkRadius

Type: bool

Actors leaving dialog trigger radius will be removed from dialog

[edit] DialogList

Type: array<DialogListT>

list of Dialogs Trees to trigger for these participants

[edit] Participants

Type: array<string>

speaker strings of characters that must be present

[edit] Internal variables

[edit] ActorsInRange

Type: array<Actor>

references to the actors that are within trigger radius

[edit] bIsInSession

Type: bool


[edit] iCurrent

Type: int

current tree

Default value: -1

[edit] LastDialogTime

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

[edit] Default values

Property Value
TriggerType TT_AnyProximity

[edit] Structs

[edit] DialogListT

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

[edit] Functions

[edit] Events

[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


[edit] Touch

event Touch (Actor Other)

Overrides: Trigger.Touch


[edit] UnTouch

event UnTouch (Actor Other)

Overrides: Trigger.UnTouch


[edit] Other instance functions

[edit] Add

function Add (Actor NewActor)


[edit] AllCanTalk

function bool AllCanTalk ()


[edit] CanTalk

function bool CanTalk (Actor Who)


[edit] CheckTopic

function bool CheckTopic (int Which)


[edit] Clear

function Clear ()


[edit] CurrentTopic

function name CurrentTopic ()


[edit] GetTouchingActors

function GetTouchingActors ()


[edit] Remove

function Remove (Actor OldActor)


[edit] SelectTopic

function bool SelectTopic ()


[edit] SessionFinished

function SessionFinished ()


[edit] StartSession

function StartSession ()