8614 {
8616 return;
8617
8618 int slot_id;
8619 string slot_name;
8620 string str
8621 int idx = 0;
8622 int i;
8623 int count;
8624 item.GetInventory().GetCurrentAttachmentSlotInfo(slot_id,slot_name);
8625
8626 if (item.HidesSelectionBySlot())
8627 {
8628 count = item.GetInventory().GetSlotIdCount();
8629 for (i = 0; i < count; i++)
8630 {
8631 if (item.GetInventory().GetSlotId(i) == slot_id)
8632 {
8633 str = item.GetHeadHidingSelection().Get(i);
8635 if (idx != -1)
8637 #ifdef DEVELOPER
8638 else
8639 Debug.Log(
"No valid selection '" + str +
"' found on head of " +
GetType() +
". Verify the p3d, model config, and the 'HAIR_HIDING_SELECTIONS' macro in basicDefines.");
8640 #endif
8641 }
8642 }
8643 }
8644 else
8645 {
8646 count = item.GetHeadHidingSelection().Count();
8647 for (i = 0; i < count; i++)
8648 {
8649 str = item.GetHeadHidingSelection().Get(i);
8651 if (idx != -1)
8653 #ifdef DEVELOPER
8654 else
8655 Debug.Log(
"No valid selection '" + str +
"' found on head of " +
GetType() +
". Verify the p3d, model config, and the 'HAIR_HIDING_SELECTIONS' macro in basicDefines.");
8656 #endif
8657 }
8658 }
8660 }
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