Denisowator

Villager
Member
Joined
Apr 18, 2017
Messages
13
Reaction score
0
First Language
Polish
Primarily Uses
RMVXA
I want to make NPCs with sound effects looping, and for those effects to change volume based on how far away the player is from that NPC (event).

For example, if you're in a dark cave and can barely see. I'd want to attach a footstep sound to the NPCs' event, and loop it. And also have the sound get quieter when getting away from the NPC, and louder when getting closer.

I have been looking and googling on the internet for at least 2 hours, but found absolutely nothing.

Also, after looking around and trying out the Event Commands for the past hour, I'm having a feeling this might only be achievable with scripts. I just wanted to get clarification, in case there is a way to do it with the commands.
 
Last edited:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
23,352
Reaction score
12,983
First Language
English
Primarily Uses
RMMZ
This can be done by eventing, using a whole string of parallel processes, but it is not something that I would recommend for a new user, as one badly designed parallel process will cause huge lag problems.

Maybe, though, someone knows another way.
 

Denisowator

Villager
Member
Joined
Apr 18, 2017
Messages
13
Reaction score
0
First Language
Polish
Primarily Uses
RMVXA
I've actually been using the XP version for a good 6 years, but then I took a break for at least 5. I've used VX Ace for a little over a few months, and now got back into it after a few years.

But I've never done anything (that I remember) to do with parallel processes. And good thing you mentioned the possible lag issue, if done incorrectly.
 

Latest Threads

Latest Profile Posts

I am supposed to be preparing to teach my students this afternoon and tomorrow morning about Refugees, Asylees, and Fraud/Misrepresentation and all I can think about is how to improve my Turn Order display. :stickytongue:
Try changing POV battle, near and far away like suikoden...
watercave2.jpg

diablofar.jpg

In the end I choose near over shoulder resembles RE4. Tight close window better. The correlation between battleback, monster style and battler should also be observed and merged.
Upgraded my avatar to be cuter.
When you look for several things for ages and then suddenly find it all at once.

Status.png
Status2.png
equip.png
I'm going to see if I can set up a triple booting setup. Windows for standard use & gaming, debian for linux development and manjaro for linux gaming, wine & proton use.

Forum statistics

Threads
129,703
Messages
1,204,418
Members
170,767
Latest member
Akemyin
Top