5 if ( !super.CanReceiveAttachment(attachment, slotId) )
20 super.OnPlacementComplete( player, position, orientation );
26 site.SetPosition( position );
27 site.SetOrientation( orientation );
46 return "Shelter_Site_Build_Start_SoundSet";
51 return "Shelter_Site_Build_Finish_SoundSet";
59 MiscGameplayFunctions.TransferItemProperties(
this, stick);
61 Rope rope = Rope.Cast(item);
73 for (
int i0 = 0; i0 < 4; ++i0)
75 SpawnEntityOnGroundPos(
"LongWoodenStick",
GetPosition());
78 for (
int i1 = 0; i1 < 8; ++i1)
80 SpawnEntityOnGroundPos(
"TannedLeather",
GetPosition());
83 for (
int i2 = 0; i2 < 4; ++i2)
88 for (
int i3 = 0; i3 < 50; ++i3)
90 SpawnEntityOnGroundPos(
"WoodenStick",
GetPosition());
const int ECE_PLACE_ON_SURFACE
override bool IsHologram()
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
override string GetPlaceSoundset()
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
override string GetDeploySoundset()
override float HeightCheckOverride()
override void DisassembleKit(ItemBase item)
override void OnDebugSpawn()
override bool DoPlacingHeightCheck()
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition