Gah - a solution with more questions. – EntropicLqd

UE2:DialogEngine (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
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

AllowSlomo

Type: bool

Modifiers: config


bPlayerDead

Type: bool


DControllers

Type: array<DialogController>


DebugOffsetX

Type: int

debug window screen offsets

DebugOffsetY

Type: int


Default value: 300

EngineInfo

Type: array<string>

text to render to debug window

PrevSessionInfoLength

Type: int


SessionInfo

Type: array<string>


Sessions

Type: array<DialogSession>

current conversations

SubtitleBoxWidth

Type: float

pixels wide the subtitle box for text is

Default value: 600.0

SubtitleColorOther

Type: Object.Color


Default value:

Member Value
A 255
B 175
G 175
R 175

SubtitleColorPlayer

Type: Object.Color

subtitle text color for player conversations

Default value:

Member Value
A 255
B 255
G 255
R 255

SubtitleFont

Type: Font

font to use for subtitles

SubtitleFontStr

Type: string

Modifiers: localized

configurable font string

Default value: "SubTFonts.EE16"

SubtitlePadding

Type: float

padding to add to text width for proper wrapping

Default value: 50.0

Trees

Type: array<DialogTree>

dialog read in from .dlg files

Functions

Static native functions

GetNode

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


NameToActor

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


NameToDC

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


StringToActor

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


StringToDC

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


Static events

NotifyDialogAborted

static event NotifyDialogAborted (Actor AbortingActor)


NotifyDialogScriptedAbort

static event NotifyDialogScriptedAbort (Actor ScriptedActor)


NotifyDialogSpeakerDied

static event NotifyDialogSpeakerDied (Actor DeadActor)


NotifyDialogSpeakerTookDamage

static event NotifyDialogSpeakerTookDamage (Actor DamagedActor)


NotifyDialogWalkedAway

static event NotifyDialogWalkedAway (Actor LeavingActor)


Other static functions

DisableNode

static function DisableNode (Actor Helper, name Which)


EnableNode

static function EnableNode (Actor Helper, name Which)


GetInstance

static function DialogEngine GetInstance (Actor Helper)


HasDialog

static function bool HasDialog (Actor A, Actor B)


Initiate

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


IsAlreadyTalking

static function bool IsAlreadyTalking (Actor A)


NotifyAudioSystemReset

static function NotifyAudioSystemReset (Actor ContextActor)


SetActorReadyTime

static function SetActorReadyTime (Actor SpeakingActor, float ReadyToSpeakTime)


ToggleDebug

static function ToggleDebug (Actor ContextActor)


Native functions

FindDialogFiles

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


GetDialogByParticipants

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


GetDialogByTopic

native function DialogTree GetDialogByTopic (name Topic)


LoadDialogFiles

native function LoadDialogFiles (string Directory, optional string File)


LoadSubtitleFont

native function Font LoadSubtitleFont (string FontStr)


Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


NotifyGameSpeedChanged

event NotifyGameSpeedChanged (float OldGameSpeed, float NewGameSpeed)


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

Cleanup

function Cleanup ()


FindDCClass

function class<DialogControllerFindDCClass (string Speaker)


GetDController

function DialogController GetDController (Actor Who)


InitiateTrigger

function bool InitiateTrigger (DialogTrigger Trigger)


NotifyLevelChange

function NotifyLevelChange ()


NotifyLevelChangeEnd

function NotifyLevelChangeEnd ()


NotifyPostLogin

function NotifyPostLogin (PlayerController PC)


PostRender

simulated function PostRender (Canvas Canvas)


SetEngineInfo

simulated function int SetEngineInfo ()


SetSessionInfo

simulated function int SetSessionInfo ()