A_PlaySound

From SRB2 Wiki
Jump to: navigation, search
Test.png This article or section is outdated and has not been updated to reflect the release of SRB2 v2.2.

Please help the Wiki by correcting or removing any misinformation, as well as adding any new information to the page.

ToDoIcon.png To do
Update for 2.2.0:
  • Var2 upper 16 bits determines if sound should play during preticker or not

A_PlaySound is an action that plays a sound effect. Var1 determines the sound ID. If Var2 is set to 0, the sound is played without an origin, if set to 1, the actor is used as the sound's origin.

  Actions – Sounds [view]
A_PainA_PlayActiveSoundA_PlayAttackSoundA_PlaySeeSoundA_PlaySoundA_Scream