Author Topic: What is the function for the pain sound?  (Read 532 times)

Anyone know the function for the pain sound?

I only know
Code: [Select]
player::playDeathCry
 I am trying to make more than one sound so it doesn't play the same thing again when they get hurt.

PlayerObject.dump();

Code: [Select]
player::playpain();

Also, if you are looking for pain images:
Code: [Select]
player::emote(painlowimage);
player::emote(painhighimage);

Code: [Select]
player::playpain();

Also, if you are looking for pain images:
Code: [Select]
player::emote(painlowimage);
player::emote(painhighimage);

I see you keep a spoon handy.

PlayerObject.dump();

It's telling me 'unable to find object: PlayerObject.dump()'

It's telling me 'unable to find object: PlayerObject.dump()'

That was pseudocode. You should do findClientByName(name).player.dump();

That was pseudocode. You should do findClientByName(name).player.dump();

I did that, but it didn't show me the parents...

Well, nevermind, the mod works! Thanks for the help! :D

I did that, but it didn't show me the parents...

If you look in that list, you will see methods called playDeathCry and playPain.

I see you keep a spoon handy.
Nope, no spoon; all from memory.


OH, it's because I just spoon fed him the answers! Hah!