GetFamiliarName(object)

Get a creature's animal companion name.

string GetFamiliarName(
    object oCreature
);

Parameters

oCreature

PC or NPC that may have an Animal Companion.


Description

Returns oCreature's animal companion's name.
Returns "" if oCreature is invalid, does not currently have an animal companion or if the animal companion's name is blank.



Remarks

Returns no information for summoned creatures. Note that an animal companion is different from a familiar.


Known Bugs

GetAnimalCompanion* and GetFamiliar* functions are reversed - GetAnimalCompanion* returns for Sorcerer and Wizard familiars and GetFamiliar* returns for Ranger and Druid animal companions.


Version

1.29

See Also

functions: GetAnimalCompanionCreatureType | GetAnimalCompanionName | GetFamiliarCreatureType | GetHenchman | SummonFamiliar
categories: Get Data from Creature Functions | Henchmen/Familiars/Summoned Functions


 author: Charles Feduke, editor: Jody Fletcher, additional contributor(s): Jody Fletcher, Gene Koo