• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    PetCharacterController

    Properties

    Methods

    GetPetForPlayer

    ClientAndServer
    NoSelfParameter

    Parameters

    player

    Returns

    any[]

    The pet info, containing:

    • player (Player): The player that owns the pet
    • character (Character): The character that represents the pet
    • outfit (CharacterOutfit): The outfit of the pet
    • traits (string[]): The traits of the pet
    • characterChangedEvent (Event): The event that is fired when the character changes
    • petOutfitChangedEvent (Event): The event that is fired when the pet outfit changes

    GetPetFromCharacter

    ClientAndServer
    NoSelfParameter

    Parameters

    character

    Returns

    any[]

    The pet info, containing:

    • player (Player): The player that owns the pet
    • character (Character): The character that represents the pet
    • outfit (CharacterOutfit): The outfit of the pet
    • traits (string[]): The traits of the pet
    • characterChangedEvent (Event): The event that is fired when the character changes
    • petOutfitChangedEvent (Event): The event that is fired when the pet outfit changes

    Updated about 17 hours ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.