Jump to content
  • 0

Title as a Quest Reward


Question

Posted (edited)

Is it possible for an NPC to give you a Title?

I plan to make some quests and one of the rewards is a new title.
I've modified my data/luafiles514/lua files/datainfo/titletable.lub to add a few new ones.

What do I need to add in my NPC for it to grant the user a new title?

Thank you in advance! ?

Edit: I just realized this should be in Script Support, sorry!

Edited by OscarScorp

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

create an achievement , and add the title to it as a reward

use "achievementcomplete(<achievement id>{,<char id>})"

now the player have the title

Edited by sader1992
  • Upvote 1
  • 0
Posted
On 8/13/2019 at 4:47 AM, OscarScorp said:

Perfect!
Created the achievement in:
Server side: db/import/achievement_db.yml
Client side: System/achievement_list.lub

Thank you!

can you show for me ?

because i've use Ach ID 300001  it's cant finish

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...