Tot ! Custom
This library will not function if your server doesn't have the Tot ! Custom mod installed.
All of these functions are compatible with both player characters and puppets.
GetBody function
Syntax:
lua
string TotCustom.GetBody( Character|TotPuppet actor )GetArmor function
Syntax:
lua
string TotCustom.GetArmor( Character|TotPuppet actor )GetAccessories function
Syntax:
lua
string TotCustom.GetAccessories( Character|TotPuppet actor )SetBody function
Syntax:
lua
bool TotCustom.SetBody( Character|TotPuppet actor, string data )SetArmor function
Syntax:
lua
bool TotCustom.SetArmor( Character|TotPuppet actor, string data )SetAccessories function
Syntax:
lua
bool TotCustom.SetAccessories( Character|TotPuppet actor, string data )GetSliderValue function
Syntax:
lua
float TotCustom.GetSliderValue( Character|TotPuppet actor, string key )SetSliderValue function
Syntax:
lua
bool TotCustom.SetSliderValue( Character|TotPuppet actor, string key, float value )SetArmorPiece function
Syntax:
lua
bool TotCustom.SetArmorPiece( Character|TotPuppet actor, int slot, int itemId, Color color )ClearArmorSlot function
Syntax:
lua
bool TotCustom.ClearArmorSlot( Character|TotPuppet actor, int slot )