22 if ( player.GetCommand_Vehicle() )
28 return !chicken.IsAlive();
41 if ( deadChicken == null )
45 if ( deadChicken == null )
48 targetChicken.Delete();
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
const int ECE_PLACE_ON_SURFACE
ref ActionTarget m_Target
void ActionInteractBase()
override void OnExecuteServer(ActionData action_data)
override void CreateConditionComponents()
void ActionPickupChicken()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override string GetDeadItemName()
Super root of all classes in Enforce script.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.