Skip to content

Trigger

Class in Engine · Engine.Trigger · placeable, native

Object › Actor › Trigger

Subclasses: Trigger_Dynamic, Trigger_LOS, Trigger_PawnsOnly, TriggerStreamingLevel

Using it from Lua
h7.find_all("Trigger")            -- live instances
h7.find_class("Engine.Trigger")   -- the class
h7.hook("Engine.Trigger.ApplyCheckpointRecord", fn)

Structs

CheckpointRecord

FieldType
bCollideActorsbool

Properties

NameTypeNotes
AITriggerDelayfloat
bRecentlyTriggeredbool
CylinderComponentCylinderComponentconst, editconst

Functions

NameDeclaration
ApplyCheckpointRecordfunction ApplyCheckpointRecord(const out CheckpointRecord Record)
CreateCheckpointRecordfunction CreateCheckpointRecord(out CheckpointRecord Record)
NotifyTriggeredfunction NotifyTriggered()
PostBeginPlaysimulated event PostBeginPlay()
ShouldSaveForCheckpointfunction bool ShouldSaveForCheckpoint()
StopsProjectilesimulated function bool StopsProjectile(Projectile P)
Touchevent Touch(Actor Other, PrimitiveComponent OtherComp, vector HitLocation, vector HitNormal)
UnTriggerfunction UnTrigger()

Default values

CollisionComponent=CollisionCylinder
CylinderComponent=CollisionCylinder
bHidden=true
bCollideActors=true
bProjTarget=true
bStatic=false
bNoDelete=true
AITriggerDelay=2.0

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions