UE2:SwapTrigger (U2XMP)

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

SwapTrigger: Kills touching actors and spawns in replacements

Properties

Property group 'SwapTrigger'

ProximityClass

Type: class<Actor>

actor class that can touch us

ReplaceDelaySeconds

Type: float

seconds to wait before trying to spawn replacement

ReplacementClass

Type: class<Actor>

actor to spawn

Internal variables

bInitialized

Type: bool

whether the class had valid properties on startup

PendingDestruction

Type: array<Actor>


Functions

Events

Destroyed

event Destroyed ()

Overrides: Trigger.Destroyed


PostBeginPlay

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


Touch

event Touch (Actor Other)

Overrides: Trigger.Touch


Other instance functions

SpawnReplacement

function SpawnReplacement ()