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
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Property group 'DialogTrigger'

bEnforceTalkRadius

Type: bool

Actors leaving dialog trigger radius will be removed from dialog

DialogList

Type: array<DialogListT>

list of Dialogs Trees to trigger for these participants

Participants

Type: array<string>

speaker strings of characters that must be present

Internal variables

ActorsInRange

Type: array<Actor>

references to the actors that are within trigger radius

bIsInSession

Type: bool


iCurrent

Type: int

current tree

Default value: -1

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

Default values

Property Value
TriggerType TT_AnyProximity

Structs

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

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


Touch

event Touch (Actor Other)

Overrides: Trigger.Touch


UnTouch

event UnTouch (Actor Other)

Overrides: Trigger.UnTouch


Other instance functions

Add

function Add (Actor NewActor)


AllCanTalk

function bool AllCanTalk ()


CanTalk

function bool CanTalk (Actor Who)


CheckTopic

function bool CheckTopic (int Which)


Clear

function Clear ()


CurrentTopic

function name CurrentTopic ()


GetTouchingActors

function GetTouchingActors ()


Remove

function Remove (Actor OldActor)


SelectTopic

function bool SelectTopic ()


SessionFinished

function SessionFinished ()


StartSession

function StartSession ()