Method Creature:ToPet [-] [+]

Attempts to convert the Creature to a Pet.

If the Creature is not a Pet, returns nil.

Synopsis

pet = Creature:ToPet()

Arguments

None.

Returns

Pet pet

The Creature as a Pet, or nil.

Generated on
© 2010 - 2024 Eluna Lua Engine