NPCs with local sound?

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
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,975
Members
137,563
Latest member
cexojow
Top