PROJ ISOUND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
No edit summary
Line 6: Line 6:


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>)

Revision as of 20:40, 24 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 -1 to nothing (not zero because if you look at DEFS.CON define KICK_HIT 0)