From ZDoom Wiki
Jump to navigation Jump to search

void PlayBounceSound (bool onFloor)


Plays the actors' BounceSound unless the actor has NOBOUNCESOUND. If onFloor is false and the actor has NOWALLBOUNCESND, then nothing plays. If the actors' BounceType is Doom/Heretic/HexenCompact, then their SeeSound will always play in place of the dedicated bounce sounds. All sounds use the ATTN_IDLE attenuation (1.001).


  • onFloor: Specifies if the bounce should be treated like a floor bounce. If not, then the actors' WallBounceSound is used, if any is defined.


Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.