[DiscordArchive] Yes ... Can I create them in my modules and integrate them into Eluna ?
[DiscordArchive] Yes ... Can I create them in my modules and integrate them into Eluna ?
Archived author: iThorgrim • Posted: 2023-11-10T20:00:58.032000+00:00
Original source
Yes ... Can I create them in my modules and integrate them into Eluna ?
Archived author: iThorgrim • Posted: 2023-11-10T20:01:16.579000+00:00
Original source
Like my new RegisterCustomGuildEvent in Lua
![[Image: image.png?ex=690c55db&is=690b045b&hm=856...89c5a84f6&]](https://cdn.discordapp.com/attachments/448835144564867094/1172627119197650984/image.png?ex=690c55db&is=690b045b&hm=856f3d31bae3b280307877d47377182b95f5fd43e066a7a79d4e56e89c5a84f6&)
Archived author: iThorgrim • Posted: 2023-11-10T20:01:31.643000+00:00
Original source
![[Image: image.png?ex=690c55db&is=690b045b&hm=856...89c5a84f6&]](https://cdn.discordapp.com/attachments/448835144564867094/1172627119197650984/image.png?ex=690c55db&is=690b045b&hm=856f3d31bae3b280307877d47377182b95f5fd43e066a7a79d4e56e89c5a84f6&)
Archived author: Honey • Posted: 2023-11-10T20:01:36.569000+00:00
Original source
No, it's literally impossible to create a hook for something when the event doesn't exist.
The core won't ever tell you that a guild has received xp. Because it has no handling for guild xp.
Archived author: Honey • Posted: 2023-11-10T20:02:00.001000+00:00
Original source
You need to write all of this, using the existing events.
Archived author: Honey • Posted: 2023-11-10T20:02:28.954000+00:00
Original source
If there's a core event which isn't exposed to Eluna yet, you could add it.
Archived author: Honey • Posted: 2023-11-10T20:03:09.143000+00:00
Original source
But these core events don't exist.
Archived author: iThorgrim • Posted: 2023-11-10T20:03:13.155000+00:00
Original source
I understand x), except that I'm going to create a module for guild levels and so guilds will be able to receive experience and so, once again, can I create a hook that will be available from eluna via my module?
Archived author: Honey • Posted: 2023-11-10T20:03:51.857000+00:00
Original source
I mean, you could do that. But i don't understand what you're up to with a thing half in cpp and half in eluna ♀️
Archived author: iThorgrim • Posted: 2023-11-10T20:04:45.840000+00:00
Original source
No, I'm totally going to do it in CPP, but the aim is to allow the Lua developer to retrieve information about the guild. For example, an experience rate modifier in Lua for the guild, etc.