Smoke Posted October 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 34 Reputation: 8 Joined: 01/06/12 Last Seen: April 16, 2019 Share 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 Link to comment Share on other sites More sharing options...
Zephyr Posted October 22, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 95 Reputation: 29 Joined: 10/11/12 Last Seen: December 12, 2023 Share 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 Link to comment Share on other sites More sharing options...
Smoke Posted October 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 34 Reputation: 8 Joined: 01/06/12 Last Seen: April 16, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 22, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.