1class WatchtowerKit
extends KitBase
18 super.OnPlacementComplete( player, position, orientation );
24 watchtower.SetPosition( position );
25 watchtower.SetOrientation( orientation );
47 MiscGameplayFunctions.TransferItemProperties(
this, stick);
49 Rope rope = Rope.Cast(item);
64 for (
int i0 = 0; i0 < 30; i0++)
66 SpawnEntityOnGroundPos(
"WoodenPlank",
GetPosition());
69 for (
int i1 = 0; i1 < 10; i1++)
74 for (
int i2 = 0; i2 < 15; i2++)
79 for (
int i3 = 0; i3 < 9; i3++)
84 for (
int i4 = 0; i4 < 6; i4++)
86 SpawnEntityOnGroundPos(
"BarbedWire",
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 bool CanReceiveAttachment(EntityAI attachment, int slotId)
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
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