Closed ghost closed 3 years ago
PlaySkinSound is an HDPlayerPawn method - i specifically moved it there so that the trauma kit's non-action edit of A_PlaySkinSound wasn't necessary. Though I did just notice that putting it on HDPlayerPawn kinda misses the point of A_PlaySkinSound, as once you have an HDPlayerPawn reference, you can just get the skin sounds directly and call A_StartSound yourself.
@nicothegoat Hey just a heads-up, it turns out
PlaySkinSound
is actuallyA_PlaySkinSound
and is a function ofHDWeapon
, notHDPlayer
, so I ended up needing to do some finagling to make this work.https://github.com/caligari87/Ugly-as-Sin/blob/cd51983ab7c41bcbc7c212e135f2ffd33541e5c8/modules/items/traumakit/traumakit_pain.zsc#L2-L5