Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BaseTriggerComponent Class Reference
Inheritance diagram for BaseTriggerComponent:
ProximityTriggerComponent ProximityTriggerComponent

Protected Member Functions

void EOnInit (IEntity owner)
void EOnContact (IEntity owner, IEntity other, Contact contact)
event void TriggeredInSafetyDistance (IEntity pHitEntity, inout vector outMat[3], IEntity damageSource, notnull Instigator instigator, string colliderName, float speed)
void EOnInit (IEntity owner)
void EOnContact (IEntity owner, IEntity other, Contact contact)
event void TriggeredInSafetyDistance (IEntity pHitEntity, inout vector outMat[3], IEntity damageSource, notnull Instigator instigator, string colliderName, float speed)

Detailed Description

Definition at line 12 of file BaseTriggerComponent.c.

Member Function Documentation

◆ EOnContact() [1/2]

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

◆ EOnContact() [2/2]

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

◆ EOnInit() [1/2]

void BaseTriggerComponent::EOnInit ( IEntity owner)
protected

Event after entity is allocated and initialized.

Parameters
ownerThe owner entity

◆ EOnInit() [2/2]

void BaseTriggerComponent::EOnInit ( IEntity owner)
protected

Event after entity is allocated and initialized.

Parameters
ownerThe owner entity

◆ TriggeredInSafetyDistance() [1/2]

event void BaseTriggerComponent::TriggeredInSafetyDistance ( IEntity pHitEntity,
inout vector outMat[3],
IEntity damageSource,
notnull Instigator instigator,
string colliderName,
float speed )
protected

Called when trigger is triggered within safety distance.

Parameters
pHitEntityDamaged entity
outMatHit position/direction/normal
damageSourceProjectile
InstigatorInstigator of the damage
colliderNameCollider name if exist otherwise empty
speedProjectile velocity in m/s

◆ TriggeredInSafetyDistance() [2/2]

event void BaseTriggerComponent::TriggeredInSafetyDistance ( IEntity pHitEntity,
inout vector outMat[3],
IEntity damageSource,
notnull Instigator instigator,
string colliderName,
float speed )
protected

Called when trigger is triggered within safety distance.

Parameters
pHitEntityDamaged entity
outMatHit position/direction/normal
damageSourceProjectile
InstigatorInstigator of the damage
colliderNameCollider name if exist otherwise empty
speedProjectile velocity in m/s

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