PlaySound

From Eternity Wiki
Revision as of 18:01, 15 August 2009 by Printz (talk | contribs) (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 (...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 (default)
    • 1 = full volume

Purpose: Causes the object to emit the sound indicated by the provided sound DeHackEd number, at the indicated volume level. New to MBF.

Notes: As of Eternity Engine v3.31 public beta 3, this codepointer will no longer crash the game if an invalid sound number is provided. If the sound number is invalid, nothing will happen.

Thunk: Yes.