Is there are any way to play some sound in way that it can be heard ONLY by player?
By this I means something like "voices in head".
Play sound in UI context
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Re: Play sound in UI context
Does this doe what you want? [wiki]LocalAmbientSound[/wiki]
Only the actor activating the script will hear the sound so I think it should only be heard by the player who activates the script and any other players shouldn't hear it.
Only the actor activating the script will hear the sound so I think it should only be heard by the player who activates the script and any other players shouldn't hear it.
Re: Play sound in UI context
Yes, but but I would prefer zscript version of this function.