Mostly Harmless
UE2:DialogTrigger (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
- Package:
- U2Dialog
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
speaker strings of characters that must be present
Internal variables
ActorsInRange
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
CheckTopic
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 ()