Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / enter to trigger sound

Author
Message
SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 27th Dec 2006 15:03
Hey.. I have made a bar with a bar tender standing behind it..I want to make to so when I stand in front of the bar and press the action key a sound plays.. is this possible

(the sound is of someone talking obviously_

GUNS,BABES,VIOLENCE ....BEST WAY FRO A GAME~

MORTAL KOMBAT ROCKS!!!!!!!!!!!!
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 27th Dec 2006 15:22
Sure.

Add to the script for your bar or bartender:

:state=0,plrdistwithin=50,plrusingaction=1:state=1,sound=your_sound_file.wav

Adjust the distance as needed.

I'm sorry, my answers are limited. You must ask the right question.

SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 27th Dec 2006 15:30
thanks!

GUNS,BABES,VIOLENCE ....BEST WAY FRO A GAME~

MORTAL KOMBAT ROCKS!!!!!!!!!!!!

Login to post a reply

Server time is: 2024-11-23 08:35:11
Your offset time is: 2024-11-23 08:35:11