PROJ ISOUND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
m thank you for the addition; adjusting to meet technical writing standards of the wiki
Line 7: Line 7:
Where <name> is the name of the [[sound]] you wish to play.
Where <name> is the name of the [[sound]] you wish to play.


Set -1 to nothing (not zero because if you look at DEFS.CON <b>define KICK_HIT 0</b>)
Set PROJ_ISOUND to -1 to disable impact sounds.

Revision as of 19:54, 28 December 2006

PROJ_ISOUND is a defineprojectile property used to play a sound when a projectile impacts a surface. This is ignored on bullet projectiles.

Syntax is:

defineprojectile <tile number> PROJ_ISOUND <name>

Where <name> is the name of the sound you wish to play.

Set PROJ_ISOUND to -1 to disable impact sounds.