Is This Possible???

A Forum Thread for Counter-Strike: Condition Zero

Hey, you! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending whenemsgone points.
  • Post: Give whenemsgone your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

Is it possible to make a button that starts playing music? Like, if someone presses it, the whole room can hear the music?

Posts

  • 10y
    sniper313 avatar
    sniper313 Offline
    Member Joined 12y
    Yes it is possible.
    Masta Killa avatar
    Mantra
    Masta Killa
  • 10y
    tizu avatar
    tizu Offline
    Member Joined 11y
    497 points Ranked 8775th
    7 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    Hello! You need a ambient_generic entity with a button (somewhere in that room) with func_button entity targeted to the ambient_generic.

    More information here .
    ex-mapper
  • 10y
    sniper313 avatar
    sniper313 Offline
    Member Joined 12y
    If you are making a map then don't forget to download PakRat so you can package your music with the map.
    Masta Killa avatar
    Mantra
    Masta Killa
  • 10y
    LeRadieux avatar
    LeRadieux Offline
    Member Joined 12y
    447 points Ranked 9576th
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    Ambient_generic: In Flags tick Start Silent, Play Everywhere and give the entity a name.

    Then, create a button and put the ambient_generic's name as Target. You're set.

    If you DON'T want the music to be toggled on and off, just tick Not Toggled in the ambient_generic's Flags list.

    Anything with a target can trigger the ambient_generic, including breakables and doors.
  • 10y
    whenemsgone avatar
    Member Joined 10y
    Ooo, alright, thanks, i wasnt too sure, i just started mapping a week ago...lol
    OMG...IM A N3WB

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

whenemsgone avatar
Member Joined 10y

whenemsgone
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
5
Views
757
Date Added
10y
bcp.crwdcntrl.net tracking pixel