Skip to main content

Execute_SelectOrRandomSalonHair

Description

Called from Notify_ChangeHair to open the ContentPicker or pick a random hair.

  • If the customer is the PlayerCharacter, sends S_OpenSalonHairContentPicker to open the ContentPicker.
    • Empty S1 (normal styling): shows only hairs already owned by the customer.
    • S1=="Locked" (unlock styling): shows only locked hairs, then unlocks the selected hair in C_SelectSalonHair.
  • Otherwise, randomly selects from SalonHairPool, stores it in coop scope (SalonHair_PoolId), and shows a bubble icon.

Parameters

ParameterDescription
BaseObjectCustomer (Self in Notify context; remaps the employee through Coop).
S1ContentPicker mode: "Locked"=locked hair / empty=owned hair.