I am struggling with how to get a sound to play the manual post doesn’t`` make any sense to me I get what its for but it never actually says how to play a sound or where to put it.
function init(self)
msg.post("ground/controller#script", "set_speed", { speed = self.speed })
self.gridw = 0
msg.post("play_gated_sound",{ soundcomponent = "/sounds#music", gain = 1.0 })
end
this is what ive got but the sound doesn’t play, I have a game object with sound component all name music, i would love some help please and thank you