8712 {
8714 return;
8715
8716 int slot_id;
8717 string slot_name;
8718 string str
8719 int idx = 0;
8720 int i;
8721 int count;
8722 item.GetInventory().GetCurrentAttachmentSlotInfo(slot_id,slot_name);
8723
8724 if (item.HidesSelectionBySlot())
8725 {
8726 count = item.GetInventory().GetSlotIdCount();
8727 for (i = 0; i < count; i++)
8728 {
8729 if (item.GetInventory().GetSlotId(i) == slot_id)
8730 {
8731 str = item.GetHeadHidingSelection().Get(i);
8733 if (idx != -1)
8735 #ifdef DEVELOPER
8736 else
8737 Debug.Log(
"No valid selection '" + str +
"' found on head of " +
GetType() +
". Verify the p3d, model config, and the 'HAIR_HIDING_SELECTIONS' macro in basicDefines.");
8738 #endif
8739 }
8740 }
8741 }
8742 else
8743 {
8744 count = item.GetHeadHidingSelection().Count();
8745 for (i = 0; i < count; i++)
8746 {
8747 str = item.GetHeadHidingSelection().Get(i);
8749 if (idx != -1)
8751 #ifdef DEVELOPER
8752 else
8753 Debug.Log(
"No valid selection '" + str +
"' found on head of " +
GetType() +
". Verify the p3d, model config, and the 'HAIR_HIDING_SELECTIONS' macro in basicDefines.");
8754 #endif
8755 }
8756 }
8758 }
eBleedingSourceType GetType()
void UpdateHairSelectionVisibility(bool was_debug=false)
void SetHairLevelToHide(int level, bool state, bool was_debug=false)
Dynamic hair hiding.
Head_Default m_CharactersHead