Welcome to AC Web.
Results 1 to 2 of 2
  1. #1

    [TrinityCore Eluna] Add An Achievement through lua?


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.


    Hello everyone,

    I'm interested in making a script in Lua for TrinityCore Eluna to be able to add an achievement to a player. I couldn't find any lua commands that will allow me to add an achievement. I'm wondering if this is possible with the current Eluna. I didn't find much at elunaluaengine.github.io regarding player achievements.

    I know I could run an SQL query to the DB using Lua in order to add an achievement ID to a player in the characters DB manually, but this wouldn't give the blizzard earned achievement visual in-game. I think the player would have to re-log to see the achievement too.

    Any support is appreciated.

    Thank you,
    Deathorous.
    Last edited by Deathorous; 02-07-2020 at 05:35 AM.

  2. #2

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    You can add Eluna functions to your server's core. Just take a look at how existing ones are implemented and create one for granting achievements.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •