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

UE2:DialogEngine (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 >> Dialog >> DialogEngine
Package: 
U2Dialog

DialogEngine.uc Created By: Mike Baldwin Created On: 2/20/2001 $Author: Aleiby $ $Date: 1/14/03 7:06p $ $Revision: 58 $

Properties[edit]

AllowSlomo[edit]

Type: bool

Modifiers: config


bPlayerDead[edit]

Type: bool


DControllers[edit]

Type: array<DialogController>


DebugOffsetX[edit]

Type: int

debug window screen offsets

DebugOffsetY[edit]

Type: int


Default value: 300

EngineInfo[edit]

Type: array<string>

text to render to debug window

PrevSessionInfoLength[edit]

Type: int


SessionInfo[edit]

Type: array<string>


Sessions[edit]

Type: array<DialogSession>

current conversations

SubtitleBoxWidth[edit]

Type: float

pixels wide the subtitle box for text is

Default value: 600.0

SubtitleColorOther[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 175
G 175
R 175

SubtitleColorPlayer[edit]

Type: Object.Color

subtitle text color for player conversations

Default value:

Member Value
A 255
B 255
G 255
R 255

SubtitleFont[edit]

Type: Font

font to use for subtitles

SubtitleFontStr[edit]

Type: string

Modifiers: localized

configurable font string

Default value: "SubTFonts.EE16"

SubtitlePadding[edit]

Type: float

padding to add to text width for proper wrapping

Default value: 50.0

Trees[edit]

Type: array<DialogTree>

dialog read in from .dlg files

Functions[edit]

Static native functions[edit]

GetNode[edit]

static native function DialogNode GetNode (Actor Helper, name Which)


NameToActor[edit]

static native function Actor NameToActor (Actor Helper, name Who)


NameToDC[edit]

static native function DialogController NameToDC (Actor Helper, name Who)


StringToActor[edit]

static native function Actor StringToActor (Actor Helper, string Who)


StringToDC[edit]

static native function DialogController StringToDC (Actor Helper, string Who)


Static events[edit]

NotifyDialogAborted[edit]

static event NotifyDialogAborted (Actor AbortingActor)


NotifyDialogScriptedAbort[edit]

static event NotifyDialogScriptedAbort (Actor ScriptedActor)


NotifyDialogSpeakerDied[edit]

static event NotifyDialogSpeakerDied (Actor DeadActor)


NotifyDialogSpeakerTookDamage[edit]

static event NotifyDialogSpeakerTookDamage (Actor DamagedActor)


NotifyDialogWalkedAway[edit]

static event NotifyDialogWalkedAway (Actor LeavingActor)


Other static functions[edit]

DisableNode[edit]

static function DisableNode (Actor Helper, name Which)


EnableNode[edit]

static function EnableNode (Actor Helper, name Which)


GetInstance[edit]

static function DialogEngine GetInstance (Actor Helper)


HasDialog[edit]

static function bool HasDialog (Actor A, Actor B)


Initiate[edit]

static function Initiate (Actor Initiator, Actor Target, optional name Topic, optional Actor WaitingActor)


IsAlreadyTalking[edit]

static function bool IsAlreadyTalking (Actor A)


NotifyAudioSystemReset[edit]

static function NotifyAudioSystemReset (Actor ContextActor)


SetActorReadyTime[edit]

static function SetActorReadyTime (Actor SpeakingActor, float ReadyToSpeakTime)


ToggleDebug[edit]

static function ToggleDebug (Actor ContextActor)


Native functions[edit]

FindDialogFiles[edit]

native function FindDialogFiles (string Directory, out array<stringFiles)


GetDialogByParticipants[edit]

native function bool GetDialogByParticipants (array<DialogControllerParticipants, array<DialogTreeFoundTrees)


GetDialogByTopic[edit]

native function DialogTree GetDialogByTopic (name Topic)


LoadDialogFiles[edit]

native function LoadDialogFiles (string Directory, optional string File)


LoadSubtitleFont[edit]

native function Font LoadSubtitleFont (string FontStr)


Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


NotifyGameSpeedChanged[edit]

event NotifyGameSpeedChanged (float OldGameSpeed, float NewGameSpeed)


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions[edit]

Cleanup[edit]

function Cleanup ()


FindDCClass[edit]

function class<DialogControllerFindDCClass (string Speaker)


GetDController[edit]

function DialogController GetDController (Actor Who)


InitiateTrigger[edit]

function bool InitiateTrigger (DialogTrigger Trigger)


NotifyLevelChange[edit]

function NotifyLevelChange ()


NotifyLevelChangeEnd[edit]

function NotifyLevelChangeEnd ()


NotifyPostLogin[edit]

function NotifyPostLogin (PlayerController PC)


PostRender[edit]

simulated function PostRender (Canvas Canvas)


SetEngineInfo[edit]

simulated function int SetEngineInfo ()


SetSessionInfo[edit]

simulated function int SetSessionInfo ()