class ActionDestroyPartSource
ActionDestroyPart › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
All members, including inherited
Constructors 1
void ActionDestroyPart()Members 1
static int CYCLES = 4Referenced by OnFinishProgressServer()
Methods 8
override void CreateConditionComponents()override void OnActionInfoUpdate(PlayerBase player, ActionTarget target, ItemBase item)override bool CanBeUsedLeaning()override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)override bool ActionConditionContinue(ActionData action_data)References DestroyCondition(), ActionData.m_MainItem, ActionData.m_Player
Show 1 more
, ActionData.m_Targetoverride void OnFinishProgressServer(ActionData action_data)References Object.AddHealth(), Construction.CanDestroyPart(), Class.Cast()
Show 15 more
, Object.DecreaseHealth(), Construction.DestroyPartServer(), BaseBuildingBase.GetConstruction(), PlayerBase.GetConstructionActionData(), DamageSystem.GetDamageZoneFromComponentName(), Object.GetHealth(), Object.GetMaxHealth(), ActionTarget.GetObject(), ConstructionPart.GetPartName(), ConstructionActionData.GetTargetPart(), CYCLES, UADamageApplied.DESTROY, ActionData.m_MainItem, ActionData.m_Player, and ActionData.m_Targetprotected bool DestroyCondition(PlayerBase player, ActionTarget target, ItemBase item, bool camera_check)References HumanInputController.CameraIsFreeLook(), Object.CanUseConstruction(), Class.Cast()
Show 12 more
, Object.GetActionComponentName(), ActionTarget.GetComponentIndex(), BaseBuildingBase.GetConstruction(), PlayerBase.GetConstructionActionData(), Construction.GetConstructionPartToDestroy(), Human.GetInputController(), ActionTarget.GetObject(), CGame.IsDedicatedServer(), BaseBuildingBase.IsFacingCamera(), ActionBase.IsInReach(), ConstructionActionData.SetTargetPart(), and UAMaxDistances.DEFAULToverride string GetAdminLogMessage(ActionData action_data)References Object.GetDisplayName(), Object.GetDisplayName(), ActionTarget.GetObject()