![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_DetonatorGadgetComponentClass |
Functions | |
| SCR_DetonatorGadgetComponentClass SCR_GadgetComponentClass | RplProp (onRplName:"OnNumberOfConnectedChargesChanged") |
| float | GetmaxDetonationRange () |
| void | OnNumberOfConnectedChargesChanged () |
| int | GetNumberOfConnectedCharges () |
| array< RplId > | GetConnectedCharges () |
| bool | IsAttachedToTheDetonator (SCR_ExplosiveChargeComponent explosiveChargeComp) |
| bool | IsAttachedToTheDetonator (RplId explosiveChargeCompId) |
| bool | IsChargeInRange (vector pos, SCR_ExplosiveChargeComponent explosiveChargeComp) |
| bool | IsChargeInRange (vector pos, RplId explosiveChargeCompId) |
| override void | ToggleActive (bool state, SCR_EUseContext context) |
| override void | OnToggleActive (bool state) |
| void | OnAnimationEvent (AnimationEventID animEventType, AnimationEventID animUserString, int intParam, float timeFromStart, float timeToEnd) |
| void | OnAnimationEnded (IEntity item, bool successful, ItemUseParameters animParams) |
| void | DetonateExplosiveCharge () |
| Trigger detonation of explosive charge if there is some connected and in range. | |
| void | ActivateAction (notnull IEntity pUserEntity) |
| Method meant for client side triggering of the action from outside of the gadget toggle mechanic. | |
| override void | ActivateAction () |
| Action listener callback. | |
| void | PlaySound (string soundName) |
| void | ConnectNewCharge (RplId explosiveChargeCompId, bool shouldReplicate=true) |
| Add new charge to the list of connected charges. | |
| void | RemoveChargeFromTheList (RplId chargeCompToDisconnect, bool shouldReplicate=true) |
| Remove provided charge from the listed of connected charges. | |
| void | ReplaceChargeFromTheList (RplId chargeCompToReplace, RplId replaceWith=RplId.Invalid()) |
| void | RemoveAllChargesFromTheList () |
| Remove all charges from the listed of connected charges. | |
| void | UpdateWiresVisibility (bool visible=false) |
| Change visibility of sloted wires. | |
| void | ShowConnectedWiresForChargesInRange () |
| Checks if there are any charges in range and if so then will show connected wires. | |
| void | OnDeployedStateChanged (bool newState, SCR_BaseDeployableInventoryItemComponent component) |
| override EGadgetType | GetType () |
| override bool | CanBeRaised () |
| override void | ModeSwitch (EGadgetMode mode, IEntity charOwner) |
| override void | ModeClear (EGadgetMode mode) |
| override void | ActivateGadgetUpdate () |
| override void | DeactivateGadgetUpdate () |
| override void | Update (float timeSlice) |
| override void | EOnInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| override bool | RplSave (ScriptBitWriter writer) |
| override bool | RplLoad (ScriptBitReader reader) |
Variables | |
| float | m_fMaxDetonationRange |
| float | m_fVisibilityCheckDelay |
| RplComponent | m_RplComp |
| ChimeraCharacter | m_User |
| AnimationEventID | m_iDetonatorTriggeredEventID = -1 |
| const string | TRIGGER_ANIMATION_EVENT_NAME = "DetonatorTriggered" |
| const string | ANIMATION_BIND_COMMAND = "CMD_Item_Action" |
| const int | UPDATE_WIRES_VISIBILITY_DELAY = 500 |
|
protected |
Action listener callback.
Definition at line 284 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Method meant for client side triggering of the action from outside of the gadget toggle mechanic.
Definition at line 276 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 476 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Gadget has a raised animation version
Definition at line 449 of file SCR_DetonatorGadgetComponent.c.
Add new charge to the list of connected charges.
Definition at line 304 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 488 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Trigger detonation of explosive charge if there is some connected and in range.
Definition at line 233 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 45 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 20 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 38 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Get gadget type
Definition at line 441 of file SCR_DetonatorGadgetComponent.c.
| [in] | explosiveChargeCompId |
Definition at line 61 of file SCR_DetonatorGadgetComponent.c.
|
protected |
| [in] | explosiveChargeComp |
Definition at line 53 of file SCR_DetonatorGadgetComponent.c.
Validates if provided charge is on the list and in usable range of that detonator
| [in] | pos | position from which distance will be measured |
| [in] | explosiveChargeCompId | replication id of the explosive charge component of the object to which distance will be checked |
Definition at line 99 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Validates if provided charge is on the list and in usable range of that detonator
| [in] | pos | position from which distance will be measured |
| [in] | explosiveChargeComp | explosive charge component of the object to which distance will be checked |
Definition at line 71 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Clear gadget mode
| [in] | mode | is the mode being cleared |
Definition at line 468 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Set gadget mode
| [in] | mode | is the target mode being switched to |
| [in] | charOwner |
Definition at line 458 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Callback called when animation of using the item ends
| [in] | item | animated item |
| [in] | successful | if animation was able to finish or was interrupted |
| [in] | animParams | parameters that were used to play this animation |
Definition at line 219 of file SCR_DetonatorGadgetComponent.c.
|
protected |
| [in] | deployed |
Definition at line 433 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 31 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 165 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Play local sound from this entity
| [in] | soundName |
Definition at line 292 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Remove all charges from the listed of connected charges.
Definition at line 350 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Remove provided charge from the listed of connected charges.
Definition at line 319 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Removes replaced trigger id and appends in its place provided replacement while preventing addition of the same RplId indefinitely
Definition at line 336 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 538 of file SCR_DetonatorGadgetComponent.c.
| SCR_DetonatorGadgetComponentClass SCR_GadgetComponentClass RplProp | ( | onRplName:"OnNumberOfConnectedChargesChanged" | ) |
Definition at line 1 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 526 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Checks if there are any charges in range and if so then will show connected wires.
Definition at line 407 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 123 of file SCR_DetonatorGadgetComponent.c.
|
protected |
| [in] | timeSlice |
Definition at line 496 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Change visibility of sloted wires.
Definition at line 378 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 27 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 17 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 21 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 24 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 22 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 23 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 26 of file SCR_DetonatorGadgetComponent.c.
|
protected |
Definition at line 28 of file SCR_DetonatorGadgetComponent.c.