[DiscordArchive] is it possible ?
[DiscordArchive] is it possible ?
Archived author: Honey • Posted: 2024-02-06T20:14:25.924000+00:00
Original source
Create an event bound to the player and let it fire after 5 seconds.
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-06T20:19:49.291000+00:00
Original source
hmm can i put a diferent event rigger just for the DK ?
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-06T20:20:09.716000+00:00
Original source
or i can just oput the DK in separate lua
Archived author: Honey • Posted: 2024-02-06T20:20:21.498000+00:00
Original source
check for the class, bind the event if it's a DK and return out of the function.
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-06T20:20:34.395000+00:00
Original source
imagene if i know how to do it
Archived author: Honey • Posted: 2024-02-06T20:21:07.123000+00:00
Original source
you already have the code to check for the class.
All you need is
Archived author: Honey • Posted: 2024-02-06T20:24:26.962000+00:00
Original source
```lua
local function GiveDkTalents(_, _, _, player)
if not player then
return
end
-- Do the magic to grant talents here.
end
--Put this at the beginning of your On First Login:
if classId == DkCLassId then
player:RegisterEvent(GiveDkTalents, 5000, 1)
return
end
```
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-06T20:25:32.786000+00:00
Original source
im so dumb that i will spend 30+ min doing this
Archived author: Honey • Posted: 2024-02-06T20:27:57.318000+00:00
Original source
you're going to need to insert the actual values for DKs
Archived author: Honey • Posted: 2024-02-06T20:28:15.313000+00:00
Original source
and make sure the variable names match, i didn't check that