58 RegisterNetSyncVariableInt(
"m_RAIB.m_PairDeviceNetIdLow");
59 RegisterNetSyncVariableInt(
"m_RAIB.m_PairDeviceNetIdHigh");
72 super.OnVariablesSynchronized();
84 super.EEItemLocationChanged(oldLoc, newLoc);
134 device.OnActivatedByItem(
this);
157 string type =
"RemoteDetonatorTrigger";
162 ItemBase inHandsItem = player.GetItemInHands();
166 MiscGameplayFunctions.TurnItemIntoItemEx(player, lambda);
175 if (player.GetItemInHands())
177 player.GetItemAccessor().OnItemInHandsChanged();
225 override bool IsKit()
237 super.EEKilled(killer);
255 super.CopyOldPropertiesToNew(old_item, new_item);
257 MiscGameplayFunctions.TransferItemProperties(old_item, new_item);
ActionAttachExplosivesTriggerCB ActionContinuousBaseCB ActionAttachExplosivesTrigger()
ActionDisarmExplosiveWithRemoteDetonatorCB ActionDisarmExplosiveCB ActionDisarmExplosiveWithRemoteDetonator()
ActionDisarmExplosiveWithRemoteDetonatorUnpairedCB ActionDisarmExplosiveCB ActionDisarmExplosiveWithRemoteDetonatorUnpaired()
void AddAction(typename actionName)
void RemoveAction(typename actionName)
override void EEKilled(Object killer)
const string COLOR_LED_OFF
protected void UpdateLED(string selection, string color)
void UpdateLED(ERemoteDetonatorLEDState pState, bool pForced=false)
RemoteDetonatorTrigger RemoteDetonator RemoteDetonatorReceiver()
const string COLOR_LED_LIT
override void OnWasDetached(EntityAI parent, int slot_id)
const string SELECTION_NAME_LED
protected ERemoteDetonatorLEDState m_LastLEDState
class JsonUndergroundAreaTriggerData GetPosition
override void SetActions()
override void OnCEUpdate()
static RemoteDetonatorTrigger SpawnInPlayerHands(notnull EntityAI pEntity)
override RemotelyActivatedItemBehaviour GetRemotelyActivatedItemBehaviour()
protected const string ANIM_PHASE_TRIGGER
override void PairRemote(notnull EntityAI trigger)
void SetControlledDevice(EntityAI pDevice)
EntityAI GetControlledDevice()
override void UnpairRemote()
override void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
override void OnActivatedByItem(notnull ItemBase item)
void RemoteDetonatorTrigger()
override void OnVariablesSynchronized()
protected ref RemotelyActivatedItemBehaviour m_RAIB
override void OnAnimationPhaseStarted(string animSource, float phase)
override void SetActions()
int GetPairDeviceNetIdHigh()
int GetPairDeviceNetIdLow()
void OnVariableSynchronized()
override void CopyOldPropertiesToNew(notnull EntityAI old_item, EntityAI new_item)
base class for transformation operations (creating one item from another)
const float EXPLOSIVE_REMOTE_ACTIVATION
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
proto native CGame GetGame()
static proto float SqrFloat(float f)
Returns squared value.
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.