PlaySound: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(New page: Type: Object sound pointer, parameterized Parameter Information: *Unknown 1 = Sound DeHackEd number to play (must be valid, no default) *Unknown 2 = Select sound volume **0 = normal (...) |
No edit summary |
||
Line 1: | Line 1: | ||
Parameters: | |||
*'''misc1''' = Sound mnemonic or DeHackEd number to play (must be valid, no default) | |||
*'''misc2''' = Select sound volume | |||
* | |||
* | |||
**0 = normal (default) | **0 = normal (default) | ||
**1 = full volume | **1 = full volume | ||
Causes the object to emit the sound indicated by the provided sound mnemonic or DeHackEd number, at the indicated volume level. | |||
If the sound name or number is invalid, nothing will happen. | |||
Can be used with [[PlayerThunk]]. | |||
==See also== | |||
*[[List of codepointers]] | |||
*[[PlaySoundEx]] |
Revision as of 09:22, 23 May 2010
Parameters:
- misc1 = Sound mnemonic or DeHackEd number to play (must be valid, no default)
- misc2 = Select sound volume
- 0 = normal (default)
- 1 = full volume
Causes the object to emit the sound indicated by the provided sound mnemonic or DeHackEd number, at the indicated volume level.
If the sound name or number is invalid, nothing will happen.
Can be used with PlayerThunk.