Files
AM2R-Community-Updates/scripts/PlaySoundVisible.gml
2020-12-22 20:54:55 -06:00

6 lines
199 B
Plaintext

/// PlaySoundVisible(sound, x, y)
if (argument1 > view_xview[0] && argument1 < view_xview[0] + 320
&& argument2 > view_yview[0] && argument2 < view_yview[0] + 240) {
PlaySoundMono(argument0);
}