GSC reference › Built-in
BotSetRandomCharacterCustomization()
Built-in (engine)
Server
Player Called on: bot
Equips this class number with the default class
Signature
<bot> BotSetRandomCharacterCustomization()
Called on an entity: bot BotSetRandomCharacterCustomization(...)
Example (from Treyarch's docs)
self BotSetRandomCharacterCustomization()
Real uses in BO3's scripts
Called 2 times in the decompiled scripts. A few, zombies first:
- scripts/shared/bots/_bot.gsc, line 206
botent botsetrandomcharactercustomization(); - scripts/mp/bots/_bot_loadout.gsc, line 425
self botsetrandomcharactercustomization();
Related built-ins
- ResetCharacterCustomization()Resets all of the character customization to what is in the player stats
- SetCharacterBodyStyle()Sets the character body style for the current body type.
- SetCharacterBodyType()Sets the character body type for the player.
- SetCharacterHelmetStyle()Sets the character body style for the current helmet type.
- GetCharacterCustomizationForXUID()
- GetCharacterAssetName()Returns the asset name for a character for the current session mode
- SetSpawnPointRandomVariation()Random value will be added into the spawn point weighting calculation.
- SetLUIMenuData()Sets a data value for a given lui menu, the data name has to be precached and the value as well, if its a string.
- SetWeaponAmmoClip()Set the weapon's ammo
- SetOrigin()Set the player's origin
- SetPlayerAngles()Set the player's view angles
- SetWeaponAmmoStock()Set the weapon's ammo
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).