GenerateRandomSetFromDatabase
ModularCharacterManager.SaveCurrentSet
Declaration public WearableSet GenerateRandomSetFromDatabase(bool _mandatorySlots, bool _randomMorphs, bool _randomWearables, bool _randomStyles)
Parameters
bool _mandatorySlots
If true, mandatory slots will always be randomized and included.
bool _randomMorphs
If true, morphs will be randomized and included.
bool _randomWearables
If true, wearables will be randomized and included.
bool _randomStyles
If true, eye and skin styles will be randomized and included.
Description Generates and applies a random Wearable Set from the current Character Style, using the specified parameters.
Returns The new WearableSet containing the newly generated random set.
Declaration public WearableSet GenerateRandomSetFromDatabase(bool[] _slotsToUse, bool _randomMorphs, bool _randomStyles)
Parameters
bool[] _slotsToUse
An array of bools corresponding to the Wearable Slot indices, which if set true, will always be randomized and included.
bool _randomMorphs
If true, morphs will be randomized and included.
bool _randomStyles
If true, eye and skin styles will be randomized and included.
Description Generates and applies a random Wearable Set from the current Character Style, using the specified parameters, including an array that explicitly sets which slots to randomize.
Returns The new WearableSet containing the newly generated random set.
Last updated