PROJ ISOUND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Added category.
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
'''defineprojectile''' <tilenum> '''PROJ_ISOUND''' <impact sound>
PROJ_ISOUND is a [[defineprojectile]] property used to play a [[sound]] when a projectile impacts a surface. This is ignored on bullet-type 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:
Where <impact sound> is the name of the [[sound]] you wish to play.
 
[[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.
Set PROJ_ISOUND to -1 to disable impact sounds.


[[Category:Projectile_structure_members]]
[[Category:Projectile_structure_members]]

Revision as of 06:18, 21 February 2020

defineprojectile <tilenum> PROJ_ISOUND <impact sound>

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

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

Set PROJ_ISOUND to -1 to disable impact sounds.