14 SetAmmoTypes({
"ClaymoreMine_Ammo",
"ClaymoreMine_Secondary_Ammo"});
18 RegisterNetSyncVariableInt(
"m_RAIB.m_PairDeviceNetIdLow");
19 RegisterNetSyncVariableInt(
"m_RAIB.m_PairDeviceNetIdHigh");
31 super.EEKilled(killer);
41 super.EEDelete(parent);
57 super.InitiateExplosion();
62 super.AfterStoreLoad();
73 super.OnVariablesSynchronized();
85 super.EEItemLocationChanged(oldLoc, newLoc);
95 if (!super.CanPutInCargo(parent))
105 if (!super.CanPutIntoHands(parent))
146 SetHealth(
"",
"", 0.0);
169 super.OnDisarmed(pWithTool);
172 RemoveDebugVisuals();
180 SetHealth(
"",
"", 0.0);
189 super.OnPlacementComplete(player, position, orientation);
208 if (GetOnViewIndexChanged())
210 GetOnViewIndexChanged().Invoke();
217 if (GetOnViewIndexChanged())
219 GetOnViewIndexChanged().Invoke();
233 SetObjectTexture(selectionIdx, RemoteDetonator.COLOR_LED_LIT);
236 SetObjectTexture(selectionIdx, RemoteDetonator.COLOR_LED_OFF);
265 if (MemoryPointExists(
"invView2"))
300 protected void DrawDamageZone()
309 float hitRange = game.ConfigGetFloat(cfgPath +
" indirectHitRange");
310 float hitRangeMultiplier = game.ConfigGetFloat(cfgPath +
" indirectHitRangeMultiplier");
311 float verticalAngle = game.ConfigGetFloat(cfgPath +
" indirectHitAngle1");
312 float horizontalAngle = game.ConfigGetFloat(cfgPath +
" indirectHitAngle2");
313 float range = hitRange * hitRangeMultiplier;
316 RemoveDebugVisuals();
318 GetTransform(selfMatrix);
323 void RemoveDebugVisuals()
PlaceObjectActionReciveData ActionReciveData ActionDeployObject()
RepairCarChassisActionReciveData m_DamageZone
void AddAction(typename actionName)
void SetAmmoTypes(array< string > pAmmoTypes)
void SetParticleExplosion(int particle)
override void UnpairRemote()
void SetParticleOrientation(vector local_ori)
protected void SetDefused(bool state)
protected ref array< string > m_AmmoTypes
bool PairWithDevice(notnull ItemBase otherDevice)
class JsonUndergroundAreaTriggerData GetPosition
override ScriptCallQueue GetCallQueue(int call_category)
protected void UpdateVisuals()
override void OnDebugSpawn()
protected const string ANIM_PHASE_PACKED
protected const string SELECTION_NAME_LED
override EntityAI GetPairDevice()
override bool CanBeDisarmed()
override int GetViewIndex()
override void EEKilled(Object killer)
override bool CanPutInCargo(EntityAI parent)
override void OnDisarmed(bool pWithTool)
protected const string ANIM_PHASE_DEPLOYED
override RemotelyActivatedItemBehaviour GetRemotelyActivatedItemBehaviour()
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
override void EEDelete(EntityAI parent)
override void PairRemote(notnull EntityAI trigger)
override void AfterStoreLoad()
override protected void InitiateExplosion()
override bool CanPutIntoHands(EntityAI parent)
override void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
override bool IsDeployable()
override void EOnInit(IEntity other, int extra)
override void OnActivatedByItem(notnull ItemBase item)
override bool IsTakeable()
override void OnVariablesSynchronized()
protected ref RemotelyActivatedItemBehaviour m_RAIB
protected void UpdateLED(ERemoteDetonatorLEDState pState, bool pForced=false)
protected ERemoteDetonatorLEDState m_LastLEDState
override bool CanRemoveFromHands(EntityAI parent)
override void SetActions()
static Shape DrawFrustum(float horizontalAngle, float verticalAngle, float length, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.WIREFRAME)
static const int CLAYMORE_EXPLOSION
static RemoteDetonatorTrigger SpawnInPlayerHands(notnull EntityAI pEntity)
int GetPairDeviceNetIdHigh()
int GetPairDeviceNetIdLow()
void OnVariableSynchronized()
proto void CallLater(func fn, int delay=0, bool repeat=false, 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)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
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.