PlaySound: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:


Can be used with [[PlayerThunk]].
Can be used with [[PlayerThunk]].
For [[DECORATE state syntax|Decorate]] availability, use [[PlaySoundEx]] instead.


==See also==
==See also==
*[[List of codepointers]]
*[[List of codepointers]]
*[[PlaySoundEx]]
*[[PlaySoundEx]]
[[Category:Codepointers]]
[[Category:MBF codepointers]]

Revision as of 06:49, 31 March 2012

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.

For Decorate availability, use PlaySoundEx instead.

See also