1class TerritoryFlagKit
extends KitBase
20 if ( !super.CanReceiveAttachment(attachment, slotId) )
36 super.OnPlacementComplete( player, position, orientation );
42 totem.SetPosition( position );
43 totem.SetOrientation( orientation );
55 MiscGameplayFunctions.TransferItemProperties(
this, stick);
57 Rope rope = Rope.Cast(item);
68 SpawnEntityOnGroundPos(
"SledgeHammer",
GetPosition());
72 Nail nails = Nail.Cast(SpawnEntityOnGroundPos(
"Nail",
GetPosition()));
73 nails.SetQuantity(60);
78 for (
int i0 = 0; i0 < 32; i0++)
83 for (
int i1 = 0; i1 < 10; i1++)
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 float HeightCheckOverride()
override void DisassembleKit(ItemBase item)
override void OnDebugSpawn()
override bool PlacementCanBeRotated()
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