Arma Reforger Script API
Loading...
Searching...
No Matches
BaseTriggerComponent Interface Reference
Inheritance diagram for BaseTriggerComponent:
BaseProjectileComponent GameComponent CollisionTriggerComponent ProximityTriggerComponent SCR_BaseTriggerComponent TimerTriggerComponent SCR_ExplosiveTriggerComponent SCR_PressureTriggerComponent

Public Member Functions

proto external IEntity GetOwner ()
 
proto external void OnUserTrigger (IEntity owner)
 
proto external void OnUserTriggerOverrideInstigator (IEntity owner, Instigator instigator)
 
proto external bool WasTriggered ()
 
proto external void SetLive ()
 
proto external void GetProjectileEffects (TypeName projectileType, out notnull array< BaseProjectileEffect > outProjectileEffects)
 Get projectile effects that are inherited from projectileType parameter.
 
- Public Member Functions inherited from BaseProjectileComponent
proto external Instigator GetInstigator ()
 
proto external void SetInstigator (notnull Instigator instigator)
 
proto external IEntity GetParentProjectile ()
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

void EOnInit (IEntity owner)
 Event after entity is allocated and initialized.
 
void EOnContact (IEntity owner, IEntity other, Contact contact)
 Event when physics engine registered contact with other RigidBody.
 

Member Function Documentation

◆ EOnContact()

void BaseTriggerComponent.EOnContact ( IEntity owner,
IEntity other,
Contact contact )
protected

Event when physics engine registered contact with other RigidBody.

Parameters
ownerThe owner entity
otherOther Entity who contacted us
contactStructure describing the contact

Implemented in SCR_PressureTriggerComponent.

◆ EOnInit()

void BaseTriggerComponent.EOnInit ( IEntity owner)
protected

Event after entity is allocated and initialized.

Parameters
ownerThe owner entity

Implemented in SCR_BaseTriggerComponent, SCR_ExplosiveTriggerComponent, and SCR_PressureTriggerComponent.

◆ GetOwner()

proto external IEntity BaseTriggerComponent.GetOwner ( )

◆ GetProjectileEffects()

proto external void BaseTriggerComponent.GetProjectileEffects ( TypeName projectileType,
out notnull array< BaseProjectileEffect > outProjectileEffects )

Get projectile effects that are inherited from projectileType parameter.

◆ OnUserTrigger()

proto external void BaseTriggerComponent.OnUserTrigger ( IEntity owner)

◆ OnUserTriggerOverrideInstigator()

proto external void BaseTriggerComponent.OnUserTriggerOverrideInstigator ( IEntity owner,
Instigator instigator )

◆ SetLive()

proto external void BaseTriggerComponent.SetLive ( )

◆ WasTriggered()

proto external bool BaseTriggerComponent.WasTriggered ( )

The documentation for this interface was generated from the following file: