![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
DEPRECATED UNUSED prototype for damage by BarbedWire, do not use as example. More...
Private Member Functions | |
| override void | OnEnter (Object obj) |
| void | SetParentObject (ItemBase wire) |
| void | SoundCollision () |
| void | SoundElectricShock () |
| Private Member Functions inherited from Trigger | |
| override void | OnEnter (Object obj) |
| override void | OnLeave (Object obj) |
| void | SetParentObject (Hologram projection) |
| void | SetParentOwner (PlayerBase player) |
| void | UpdateInsiders (int timeout) |
| void | OnEnterBeginEvent (TriggerInsider insider) |
| void | OnLeaveBeginEvent (TriggerInsider insider) |
| void | OnEnter (Object obj) |
| void | OnLeave (Object obj) |
| bool | CanAddObjectAsInsider (Object object) |
| Condition whether an Object can be added as TriggerInsider (checked before calling AddInsider). | |
| bool | ShouldRemoveInsider (TriggerInsider insider) |
| Condition whether a TriggerInsider should still be updated or not (checked in update loop and before adding). | |
| bool | ShouldRemoveInsiderNoLeave (TriggerInsider insider) |
| Condition whether a TriggerInsider should still be updated or not, skips OnLeaveEvent (checked in update loop and before adding). | |
| TriggerInsider | CreateInsider (Object obj) |
| Used for easily overriding TriggerInsider creation without rewriting AddInsider. | |
| void | AddInsider (Object obj) |
| Adding of new TriggerInsider. | |
| void | RemoveInsider (TriggerInsider insider, int index=-1) |
| Removing of TriggerInsider. | |
| void | RemoveInsiderByObject (Object object) |
| Removing of TriggerInsider through Object. | |
| void | UpdateInsiders (int timeout) |
| Update the current TriggerInsider inside the Trigger, timeout paramter is deprecated. | |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
Private Attributes | |
| ItemBase | m_ParentBarbedWire |
| Private Attributes inherited from Trigger | |
| Hologram | m_ParentObj |
| PlayerBase | m_Player |
| int | m_TriggerUpdateMs |
Static Private Attributes | |
| static const string | m_SoundsCollision [SOUNDS_COLLISION_COUNT] = {"barbedFenceCollision1", "barbedFenceCollision2", "barbedFenceCollision3", "barbedFenceCollision4"} |
| static const string | m_SoundsShock [SOUNDS_SHOCK_COUNT] = {"electricFenceShock1", "electricFenceShock2", "electricFenceShock3", "electricFenceShock4"} |
| static const int | SOUNDS_COLLISION_COUNT = 4 |
| static const int | SOUNDS_SHOCK_COUNT = 4 |
DEPRECATED UNUSED prototype for damage by BarbedWire, do not use as example.
Definition at line 2 of file barbedwiretrigger.c.
|
inlineprivate |
Definition at line 11 of file barbedwiretrigger.c.
References g_Game, m_ParentBarbedWire, SoundCollision(), and SoundElectricShock().
|
inlineprivate |
Definition at line 64 of file barbedwiretrigger.c.
References g_Game, and m_ParentBarbedWire.
|
inlineprivate |
Definition at line 81 of file barbedwiretrigger.c.
References m_SoundsCollision, PlaySound(), Math::RandomInt(), and SOUNDS_COLLISION_COUNT.
Referenced by OnEnter().
|
inlineprivate |
Definition at line 73 of file barbedwiretrigger.c.
References m_SoundsShock, PlaySound(), Math::RandomInt(), and SOUNDS_SHOCK_COUNT.
Referenced by OnEnter().
|
private |
Definition at line 4 of file barbedwiretrigger.c.
Referenced by OnEnter(), and SetParentObject().
|
staticprivate |
Definition at line 7 of file barbedwiretrigger.c.
Referenced by SoundCollision().
|
staticprivate |
Definition at line 8 of file barbedwiretrigger.c.
Referenced by SoundElectricShock().
|
staticprivate |
Definition at line 5 of file barbedwiretrigger.c.
Referenced by SoundCollision().
|
staticprivate |
Definition at line 6 of file barbedwiretrigger.c.
Referenced by SoundElectricShock().