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 / Music/trigger zones

Author
Message
thatguyf
17
Years of Service
User Offline
Joined: 13th May 2007
Location:
Posted: 14th May 2007 06:16
Is there a way I can make it so there's music playing in the game. And also how do trigger zones work.
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 14th May 2007 07:21
This belongs in the Scripts forum.

MikeB
17
Years of Service
User Offline
Joined: 5th Apr 2007
Location: My Computer, Shropshire, England
Posted: 14th May 2007 12:49
Don't know about the music.

But Trigger Zones are used to trigger events, like a door opening when you walk in them.

I might explain more indepth later, but I'm tired now .

E.D.

The 40 Year Old Gamer
17
Years of Service
User Offline
Joined: 13th Aug 2007
Location: San Antonio
Posted: 17th Aug 2007 03:34
For those who might still be looking for an answer to how this works, it is covered in the hints and tips by nickydude, a sticky on the forum. Basically, you set an entity outside your structure, and use this to attach a sound. Set the main script to repeatsound.fpi. Set the trigger zone main script to playerinzoneactivateused and the if used parameter to the name of the entity. Check out Nick's excellent guide for more detail.

I'm having some trouble getting multiple sound trigger zones in a levek to work - so let me know if you figure that one out.

'Yeah...I'm gonna' have to ask you to come in on Saturday. That'd be great.'

Login to post a reply

Server time is: 2024-11-23 16:18:58
Your offset time is: 2024-11-23 16:18:58