|
| 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 () |
| | Only call this on the server.
|
| |
| void | ResetTimeout () |
| | 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.
|
| |
| 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 () |
| |
| bool | IsActivated () |
| |
| bool | IsActivatedByDefault () |
| |
| void | SetUser (notnull IEntity user) |
| |
| void | ShowFuse () |
| |
| void | RPC_DoTrigger () |
| |
| void | SCR_BaseTriggerComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
| |
| proto external IEntity | GetOwner () |
| |
| proto external void | OnUserTrigger (notnull IEntity owner) |
| |
| proto external void | OnUserTriggerOverrideInstigator (notnull 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.
|
| |
| proto external float | GetArmingTime () |
| | Time to arm the fuse once the trigger is set live.
|
| |
| void | TriggeredInSafetyDistance (IEntity pHitEntity, inout vector outMat[3], IEntity damageSource, notnull Instigator instigator, string colliderName, float speed) |
| | Called when trigger is triggered within safety distance.
|
| |
| proto external Instigator | GetInstigator () |
| |
| proto external void | SetInstigator (notnull Instigator instigator) |
| |
| proto external IEntity | GetParentProjectile () |
| |
| bool | OnTicksOnRemoteProxy () |
| |
|
| override void | EOnInit (IEntity owner) |
| | Event after entity is allocated and initialized.
|
| |
◆ ActivateTrigger()
| override void SCR_PressureTriggerComponent.ActivateTrigger |
( |
| ) |
|
◆ DisarmTrigger()
| override void SCR_PressureTriggerComponent.DisarmTrigger |
( |
| ) |
|
◆ EOnContact()
| override void SCR_PressureTriggerComponent.EOnContact |
( |
IEntity | owner, |
|
|
IEntity | other, |
|
|
Contact | contact ) |
Event when physics engine registered contact with other RigidBody.
- Parameters
-
| owner | The owner entity |
| other | Other Entity who contacted us |
| contact | Structure describing the contact |
Implements BaseTriggerComponent.
◆ EOnInit()
| override void SCR_PressureTriggerComponent.EOnInit |
( |
IEntity | owner | ) |
|
|
protected |
◆ HideFuse()
| void SCR_PressureTriggerComponent.HideFuse |
( |
| ) |
|
◆ OnActivatedChanged()
| override void SCR_PressureTriggerComponent.OnActivatedChanged |
( |
| ) |
|
◆ ResetTimeout()
| void SCR_PressureTriggerComponent.ResetTimeout |
( |
| ) |
|
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.
◆ TriggerManuallyServer()
| void SCR_PressureTriggerComponent.TriggerManuallyServer |
( |
| ) |
|
Manually trigger the entity (Server Only)
◆ 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:
- Game/Weapon/Explosives/SCR_PressureTriggerComponent.c