I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:ScriptTrigger (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 >> ScriptTrigger
Package: 
U2

ScriptTrigger.uc Created By: Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 1/29/03 4:24p $ $Revision: 7 $

Properties

Property group 'ScriptTrigger'

ScriptList

Type: array<TScriptInfo>


TargetClassString

Type: string

pawn/controller class to use with TT_TargetNearest

Default value: "U2.U2NPCController"

TargetName

Type: name


TargetType

Type: ETargetType


Internal variables

CurrentScript

Type: int

Modifiers: private


Enums

ETargetType

TT_TargetInstigator 
TT_TargetNearest 
target is nearest NPC matching specified class (pawn or controller class)
TT_TargetTagged 
target is NPC with Tag=TargetName

Structs

TScriptInfo

string CommandFileName 
string CommandStartLabel 

Instance functions

IsUsable

function bool IsUsable (Actor Other)

Overrides: Trigger.IsUsable


TriggerActors

protected function TriggerActors (Actor TriggerSrc, class<ActorTriggerClass, Actor Other, Pawn Instigator, name TriggerEvent, bool bTriggerNPCs)

Overrides: Triggers.TriggerActors