The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:SwapTrigger (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> Trigger >> SwapTrigger
Package: 
U2

SwapTrigger: Kills touching actors and spawns in replacements

Properties[edit]

Property group 'SwapTrigger'[edit]

ProximityClass[edit]

Type: class<Actor>

actor class that can touch us

ReplaceDelaySeconds[edit]

Type: float

seconds to wait before trying to spawn replacement

ReplacementClass[edit]

Type: class<Actor>

actor to spawn

Internal variables[edit]

bInitialized[edit]

Type: bool

whether the class had valid properties on startup

PendingDestruction[edit]

Type: array<Actor>


Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Trigger.Destroyed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


Touch[edit]

event Touch (Actor Other)

Overrides: Trigger.Touch


Other instance functions[edit]

SpawnReplacement[edit]

function SpawnReplacement ()