EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   How to make an npc sit or fall over? (https://www.eqemulator.org/forums/showthread.php?t=28088)

Terethian2 05-02-2009 09:14 PM

How to make an npc sit or fall over?
 
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.

Code:



quest::doanim(anim_num)

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

Code:

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...=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
Code:

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.


All times are GMT -4. The time now is 12:54 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.