Rudra Posted March 25, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 21 Reputation: 2 Joined: 04/18/12 Last Seen: April 11, 2023 Share Posted March 25, 2018 (edited) Is there any way to create an achievement when finishing a quest? if yes, what would the group and condition look like? thanks! Edited March 25, 2018 by M4rcelo Quote Link to comment Share on other sites More sharing options...
2 Balfear Posted March 25, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 256 Reputation: 245 Joined: 07/24/13 Last Seen: March 24 Share Posted March 25, 2018 (edited) 15 hours ago, M4rcelo said: Is there any way to create an achievement when finishing a quest? if yes, what would the group and condition look like? thanks! Hi, you can find achievment commands here. ============================ |15.- Achievement commands.| ============================ Add your custom achieves in db/re/achievement_db.yml or db/pre/achievement_db.yml like: - ID: 220060 Group: "AG_ADVENTURE" Name: "Complete my quest" Score: 10 and this to your script when quest complete. achievementcomplete(220060); *achievementcomplete(<achievement id>{,<char id>}) This function will complete an achievement for the attached player or the supplied <char id>. The objective requirements are ignored when using this function. Returns true on success and false on failure. don`t forget add your custom achievment to client: yourclient\System\achievement_list.lub [220060] = { UI_Type = 0, group = "ADVENTURE", major = 2, minor = 0, title = "Complete my quest", content = { summary = "Text", details = "Text" }, resource = { [1] = { text = "Text" } }, reward = {}, score = 10 }, I think this will work Edited March 26, 2018 by Balfear 2 1 Quote Link to comment Share on other sites More sharing options...
0 Rudra Posted March 26, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 21 Reputation: 2 Joined: 04/18/12 Last Seen: April 11, 2023 Author Share Posted March 26, 2018 thanks! Quote Link to comment Share on other sites More sharing options...
Question
Rudra
Is there any way to create an achievement when finishing a quest? if yes, what would the group and condition look like?
thanks!
Edited by M4rceloLink to comment
Share on other sites
2 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.