41 super.EEItemDetached( item, slot_name );
44 if ( player && player.IsPlayerDisconnected() )
47 if (item && slot_name ==
"Rope")
49 if (
GetGame().IsServer() && !m_DeployedRegularly)
59 super.OnItemLocationChanged( old_owner, new_owner );
67 m_DeployedRegularly =
true;
72 super.OnPlacementCancelled(player);
73 m_DeployedRegularly =
false;
88 return "putDown_FenceKit_SoundSet";
93 return "Shelter_Site_Build_Loop_SoundSet";
98 super.RefreshPhysics();
106 SetAnimationPhase(
"Inventory", 0 );
107 SetAnimationPhase(
"Placing", 1 );
112 AddProxyPhysics(
"Inventory" );
113 RemoveProxyPhysics(
"Placing" );
120 Rope rope = Rope.Cast(GetInventory().CreateAttachment(
"Rope"));
134 MiscGameplayFunctions.TransferItemProperties(
this, rope);
141 MiscGameplayFunctions.TransferItemProperties(
this, newRope);
void AddAction(typename actionName)
const int ECE_PLACE_ON_SURFACE
Wrapper class for managing sound through SEffectManager.
override bool IsBasebuildingKit()
override bool HasProxyParts()
override void OnItemLocationChanged(EntityAI old_owner, EntityAI new_owner)
void PlayDeployLoopSound()
override void SetActions()
void CreateRope(Rope rope)
void DisassembleKit(ItemBase item)
override bool DisassembleOnLastDetach()
override string GetDeploySoundset()
override bool CanAssignAttachmentsToQuickbar()
override void OnPlacementCancelled(Man player)
override void EEItemDetached(EntityAI item, string slot_name)
override void RefreshPhysics()
override string GetLoopDeploySoundset()
override bool CanProxyObstruct()
void StopDeployLoopSound()
DEPRECATED.
override bool IsDeployable()
override void OnEndPlacement()
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
InventoryLocationType
types of Inventory Location
ref EffectSound m_DeployLoopSound
DEPRECATED.