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