Hey guy's.
I have 2 question. Well EmoteState (65) wont set my gossip to a dead state. Anyone know's what am I doing wrong ?
Second Is SetStunned <- always give me error is nil value.
Well NpcId is gossip id and gossip spawncreature.
I have 2 question. Well EmoteState (65) wont set my gossip to a dead state. Anyone know's what am I doing wrong ?
Second Is SetStunned <- always give me error is nil value.
Well NpcId is gossip id and gossip spawncreature.
Code:
function GossipSummonWB.OnJustSummonedCreature (event, creature, summon)
--summon:SetStunned(true);
creature:RegisterEvent( GossipDieEmote, 1000, 1 )
end
function GossipDieEmote ( event, duration, cycles, creature )
creature:EmoteState( 65 ); -- Should be dead emote
end
RegisterCreatureEvent( NpcId, 19, GossipSummonWB.OnJustSummonedCreature )