22 if ( player.GetCommand_Vehicle() )
28 return !chicken.IsAlive();
41 if ( deadChicken == null )
45 if ( deadChicken == null )
48 targetChicken.Delete();
class ActionTargets ActionTarget
const int ECE_PLACE_ON_SURFACE
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
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.
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.