From f45f733ff4c40511c5741e808138d69feea7bf53 Mon Sep 17 00:00:00 2001 From: Indev Date: Sat, 7 Sep 2024 11:46:59 +0300 Subject: [PATCH] Document changes to lua P_PlayRinglossSound and K_PlayHitEmSound functions --- LUASTUFF.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/LUASTUFF.md b/LUASTUFF.md index a8f285692..d753723f1 100644 --- a/LUASTUFF.md +++ b/LUASTUFF.md @@ -151,3 +151,15 @@ Best to be used in a Loop to ensure the color wont get overwritten by the game. Add Gamepad Rumble support for things. To be used with Displayplayers. Duration is in milliseconds and is optional to set, default value is 84ms. + +# Other changes + +## P_PlayRinglossSound(source, damager) + +Add optional `damager` argument (should be `mobj_t`), which causes hurt sound also play for damager +if `karthitemdialog` option is enabled + +## K_PlayHitEmSound(mobj, victim) + +Add optional `victim` argument (should be a player's `mobj_t`), which causes "hit em" sound to be +delayed and played for victim too if `karthitemdialog` option is enabled