@011830-0a42ef84 sure, share it (I think Im friended so if you really don’t want it public you can share with friends) my idea would either be a custom block that adds data to a list and/or sends a broadcast with parameters, then the ai receives that and process it, so for the broadcast it would be (assuming you want a custom block to format the data and be repeatable easy)
PS: as I’m typing this out I realize it’s hard to understand if you don’t have experience reading script code or using broadcast blocks to put data in a string and using part number of string to get that data
The custom block:
define makeSound(x, y, loudness) /
broadcast (sound) with parameter (x, y, loudness) // use something like join text with separator
In the ai sprite:
When I receive (sound) with parameter [inputs] /
if (distance between sound x sound y and x position y position < loudness) then
---- // do the stuff
IF that was confusing I Think if you tell xo chat what I described it as they can make an example or just make it (so if you tell xo chat something like “make a custom block that takes an x and y position as well as a loudness value and broadcast it, then a receiving broadcast block to handle the sound” infact you might be able to ask it to implement the sound system as a whole