Difference between revisions of "LUA:GetCosmeticPet"
(Created page with "= LUA Functions: GetCosmeticPet() = Gets the cosmetic pet for the given spawn ==== Syntax ==== GetCosmeticPet(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''...") |
(No difference)
|
Latest revision as of 20:12, 20 April 2013
LUA Functions: GetCosmeticPet()
Gets the cosmetic pet for the given spawn
Syntax
GetCosmeticPet(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn who's cosmetic pet we want to get
Usage
function cast(Caster, Target) SummonCosmeticPet(Caster, 340083) end function remove(Caster, Target) pet = GetCosmeticPet(Caster) if pet ~= nil then DismissPet(pet) end end
A cosmetic pet spell.