Car windows closed - People nearby talking.
#1

Hi,

I'm making a basic windows system here, and it works fine for the first part.

You are talking with rolled up windows, and only peoples within the range of 2 can hear you.
but here comes the tricky part, that i havn't seem to be able to find a solution on.

How can i make it, so that i won't be able to hear other peoples that aren't within the range of 2 - if my vehicles window is rolled up ofcourse.?
I simply use a variable looking like this::
WindowsClosed[vehicleid] to tell me, whether a vehicles cars windows is rolled up or down.


Much appreciated.
Reply
#2

Now you are starting to think and implement your thoughts into the script. If it was me, I would modify the Proximity Detector to include car windows and whether the player is in a car or not. This can be done with a few if / then / else's.

Quote:
Originally Posted by Faith
Hi,

I'm making a basic windows system here, and it works fine for the first part.

You are talking with rolled up windows, and only peoples within the range of 2 can hear you.
but here comes the tricky part, that i havn't seem to be able to find a solution on.

How can i make it, so that i won't be able to hear other peoples that aren't within the range of 2 - if my vehicles window is rolled up ofcourse.?
I simply use a variable looking like this::
WindowsClosed[vehicleid] to tell me, whether a vehicles cars windows is rolled up or down.


Much appreciated.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)