Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_PressureTriggerComponent Interface Reference
Inheritance diagram for SCR_PressureTriggerComponent:
[legend]

Public Member Functions

override void EOnContact (IEntity owner, IEntity other, Contact contact)
 Event when physics engine registered contact with other RigidBody.
 
void TriggerManuallyServer ()
 Manually trigger the entity (Server Only)
 
override void ActivateTrigger ()
 
- Public Member Functions inherited from SCR_BaseTriggerComponent
bool IsActivated ()
 
void SetUser (notnull IEntity user)
 
void ActivateTrigger ()
 
void ShowFuse ()
 
void OnActivatedChanged ()
 Method called on the clients, the item should be outside inventory already.
 
void RPC_DoTrigger ()
 
void SCR_BaseTriggerComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 
- Public Member Functions inherited from BaseTriggerComponent
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 IEntity GetParentProjectile ()
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

override void EOnInit (IEntity owner)
 Event after entity is allocated and initialized.
 
override void EOnInit (IEntity owner)
 Event after entity is allocated and initialized.
 
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.
 

Protected Attributes

float m_fLastTryTime = 0
 
float m_fMinWeight
 
- Protected Attributes inherited from SCR_BaseTriggerComponent
bool m_bLive
 
bool m_bActivated = false
 
string m_sFuzeMeshName
 

Static Protected Attributes

const float MIN_DELAY = 125
 

Member Function Documentation

◆ ActivateTrigger()

override void SCR_PressureTriggerComponent.ActivateTrigger ( )

◆ EOnContact()

override void SCR_PressureTriggerComponent.EOnContact ( IEntity  owner,
IEntity  other,
Contact  contact 
)

Event when physics engine registered contact with other RigidBody.

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

Implements BaseTriggerComponent.

◆ EOnInit()

override void SCR_PressureTriggerComponent.EOnInit ( IEntity  owner)
protected

Event after entity is allocated and initialized.

Parameters
ownerThe owner entity

Implements SCR_BaseTriggerComponent.

◆ TriggerManuallyServer()

void SCR_PressureTriggerComponent.TriggerManuallyServer ( )

Manually trigger the entity (Server Only)

Member Data Documentation

◆ m_fLastTryTime

float SCR_PressureTriggerComponent.m_fLastTryTime = 0
protected

◆ m_fMinWeight

float SCR_PressureTriggerComponent.m_fMinWeight
protected

◆ MIN_DELAY

const float SCR_PressureTriggerComponent.MIN_DELAY = 125
staticprotected

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