Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PressureTriggerComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_PressureTriggerComponentClass

Functions

override void EOnContact (IEntity owner, IEntity other, Contact contact)
void TriggerManuallyServer ()
 Manually trigger the entity (Server Only).
override void ActivateTrigger ()
 Only call this on the server.
void ResetTimeout ()
override void DisarmTrigger ()
 Only call this on the server to disable the trigger mechanism.
override void OnActivatedChanged ()
 Method called on the clients, the item should be outside inventory already.
void HideFuse ()
void EOnInit (IEntity owner)

Variables

SCR_PressureTriggerComponentClass MIN_DELAY = 125
float m_fLastTryTime = 0

Function Documentation

◆ ActivateTrigger()

override void ActivateTrigger ( )
protected

Only call this on the server.

Definition at line 67 of file SCR_PressureTriggerComponent.c.

◆ DisarmTrigger()

override void DisarmTrigger ( )
protected

Only call this on the server to disable the trigger mechanism.

Definition at line 93 of file SCR_PressureTriggerComponent.c.

◆ EOnContact()

override void EOnContact ( IEntity owner,
IEntity other,
Contact contact )
protected

Definition at line 20 of file SCR_PressureTriggerComponent.c.

◆ HideFuse()

void HideFuse ( )
protected

Definition at line 123 of file SCR_PressureTriggerComponent.c.

◆ OnActivatedChanged()

override void OnActivatedChanged ( )
protected

Method called on the clients, the item should be outside inventory already.

Definition at line 109 of file SCR_PressureTriggerComponent.c.

◆ ResetTimeout()

void ResetTimeout ( )
protected

Method used to reset the timeout, which is used to discard contacts when mine is arming Use it only on the server as it controlls when mines are detonated

Definition at line 86 of file SCR_PressureTriggerComponent.c.

◆ TriggerManuallyServer()

void TriggerManuallyServer ( )
protected

Manually trigger the entity (Server Only).

Definition at line 58 of file SCR_PressureTriggerComponent.c.

Variable Documentation

◆ m_fLastTryTime

float m_fLastTryTime = 0
protected

Definition at line 17 of file SCR_PressureTriggerComponent.c.

◆ MIN_DELAY