Smoke Posted October 22, 2012 Posted October 22, 2012 Hi, I'm trying to get the mob-id from specific hunting quest in quest_db.txt, for example : 7074,0,2017,1,0,0,0,0,"Rata Hunt" Is there a way i can pull 2017 or 1 via script command and use it in a script? Quote
Zephyr Posted October 22, 2012 Posted October 22, 2012 Before you use "setquest", you can set the ID. if( checkquest(7074) == -1 ) { set MobID, 2017; set MobQnt, 1; setquest 7074; } Quote
Smoke Posted October 22, 2012 Author Posted October 22, 2012 Thank you for that, but unfortunately my script is more complex than just a single quest. If there isn't a general way I will have to resort to storing the id in a variable as you suggested. Quote
AnnieRuru Posted October 22, 2012 Posted October 22, 2012 http://www.eathena.ws/board/index.php?showtopic=275905 this is what I mean I don't use any variables when doing quest log scripts http://www.eathena.ws/board/index.php?s=&showtopic=269839&view=findpost&p=1481667 Quote
Question
Smoke
Hi,
I'm trying to get the mob-id from specific hunting quest in quest_db.txt, for example :
Is there a way i can pull 2017 or 1 via script command and use it in a script?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.