[DiscordArchive] any sort of opcode to listen on?
[DiscordArchive] any sort of opcode to listen on?
Archived author: Vale the Violet Mote • Posted: 2023-07-21T03:43:12.218000+00:00
Original source
any sort of opcode to listen on?
Archived author: Rymercyble • Posted: 2023-07-21T03:48:45.170000+00:00
Original source
i dont know if its exposed to eluna but in c++ there is `OnEnvironmentalDamage`
Archived author: Vale the Violet Mote • Posted: 2023-07-21T03:53:26.273000+00:00
Original source
rip, only way I think it'd work is to listen for the durability loss packet, but that's so janky I'm wondering if I should just mod my core a bit to add what i need
Archived author: Rymercyble • Posted: 2023-07-21T03:54:32.500000+00:00
Original source
just expose that hook to eluna if its not
Archived author: Honey • Posted: 2023-07-21T04:52:09.658000+00:00
Original source
There's one for certain.
Alternatively you can use the repop event, if that's ok for your purpose.
Archived author: Vale the Violet Mote • Posted: 2023-07-21T04:52:20.097000+00:00
Original source
what's repop?
Archived author: Honey • Posted: 2023-07-21T04:52:59.661000+00:00
Original source
When the player clicks release.
Archived author: Vale the Violet Mote • Posted: 2023-07-21T04:53:57.737000+00:00
Original source
ah, no I need on death
Archived author: Vale the Violet Mote • Posted: 2023-07-21T04:54:13.531000+00:00
Original source
it's ok, I added a touch of code, recompiling now
Archived author: Roboto • Posted: 2023-07-21T09:05:46.089000+00:00
Original source
`PLAYER_EVENT_ON_KILL_PLAYER` triggers for environmental deaths