5 m_Text =
"#switch_to_next_material";
37 if ( target_entity && target_entity.CanUseConstruction() )
45 string main_part_name = target_entity.GetActionComponentName( target.GetComponentIndex() );
59 super.Start( action_data );
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
class ActionTargets ActionTarget
void ActionTakeMaterialToHandsSwitch()
override bool IsInstant()
override void Start(ActionData action_data)
override void CreateConditionComponents()
override bool RemoveForceTargetAfterUse()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool UseAcknowledgment()
override bool IsPlayerInside(PlayerBase player, string selection)
void RefreshAttachmentsToDetach(EntityAI target, string main_part_name)
int GetAttachmentsToDetachCount()
void SetNextAttachmentIndex()