PROJ ISOUND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m thank you for the addition; adjusting to meet technical writing standards of the wiki
m Added category.
Line 1: Line 1:
PROJ_ISOUND is a [[defineprojectile]] property used to play a [[sound]] when a projectile impacts a surface. This is ignored on bullet projectiles.
PROJ_ISOUND is a [[defineprojectile]] property used to play a [[sound]] when a projectile impacts a surface. This is ignored on bullet-type projectiles.


Syntax is:
Syntax is:
Line 8: Line 8:


Set PROJ_ISOUND to -1 to disable impact sounds.
Set PROJ_ISOUND to -1 to disable impact sounds.
[[Category:Projectile_structure_members]]

Revision as of 18:10, 13 June 2007

PROJ_ISOUND is a defineprojectile property used to play a sound when a projectile impacts a surface. This is ignored on bullet-type 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.