Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:ScriptTrigger (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10: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[edit]

Property group 'ScriptTrigger'[edit]

ScriptList[edit]

Type: array<TScriptInfo>


TargetClassString[edit]

Type: string

pawn/controller class to use with TT_TargetNearest

Default value: "U2.U2NPCController"

TargetName[edit]

Type: name


TargetType[edit]

Type: ETargetType


Internal variables[edit]

CurrentScript[edit]

Type: int

Modifiers: private


Enums[edit]

ETargetType[edit]

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

Structs[edit]

TScriptInfo[edit]

string CommandFileName 
string CommandStartLabel 

Instance functions[edit]

IsUsable[edit]

function bool IsUsable (Actor Other)

Overrides: Trigger.IsUsable


TriggerActors[edit]

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

Overrides: Triggers.TriggerActors