Arma Reforger Script API
Loading...
Searching...
No Matches
TimerTriggerComponent Interface Reference
Inheritance diagram for TimerTriggerComponent:
BaseTriggerComponent BaseProjectileComponent GameComponent

Public Member Functions

proto external float GetTimer ()
 Gets the local time left on the timer trigger.
 
proto external void SetTimer (float newTime)
 Sets the local time left on the timer trigger.
 
- 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 void SetInstigator (notnull Instigator instigator)
 
proto external IEntity GetParentProjectile ()
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Additional Inherited Members

- Protected Member Functions inherited from BaseTriggerComponent
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

◆ GetTimer()

proto external float TimerTriggerComponent.GetTimer ( )

Gets the local time left on the timer trigger.

Warning
The timer variable is not replicated.
Returns
Current time duration in seconds.

◆ SetTimer()

proto external void TimerTriggerComponent.SetTimer ( float newTime)

Sets the local time left on the timer trigger.

Warning
The timer variable is not replicated.
Parameters
newTimeThe new timer duration in seconds.

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