Log in

View Full Version : How to make an npc sit or fall over?


Terethian2
05-02-2009, 09:14 PM
Can doanim make this happen?

Zeice
05-02-2009, 09:35 PM
If you want him to do it just once during a conversion or something you would use doanim.




quest::doanim(anim_num)



If you want him to sit permanently or lay down permanently you would use setanim.

quest::setanim(npc_type,animnum)

If you hadn't found this page yet, it has a list of all the quest commands.

http://www.eqemulator.net/wiki/wikka.php?wakka=QuestTutorial

Randymarsh9
05-02-2009, 09:38 PM
animation # 16 is fall down, 33 is sit. I would recommend going ingame and doing #setanim 16 or 33. Or you could do it on enter_zone like
sub EVENT_ENTERZONE{
quest::setanim(1111,16);
}

I noticed its only 16 to fall and 33 to sit if u do doanim. If u use setanim its 1 to sit and 3 to fall.