Home   Help Search Login Register  

Author Topic: Car radio  (Read 999 times)

0 Members and 1 Guest are viewing this topic.

Offline Chrispy

  • Members
  • *
  • You never saw me! ;)
    • Delta Zero
Car radio
« on: 04 Oct 2007, 03:52:56 »
Well, this script has probably been made before, but I was thinking I could make myself a music/radio script anyway.

Well firstly, I was planning that if a player gets into a car, a few actions will be added to the menu:

- Radio on
- Radio off
- Volume low
- Volume medium
- Volume high

I know the script to put an action in is e.g: player addaction["Radio on","radio_on.sqs"] and I know to play music will be something like e.g: playMusic "HellsBells" but I'm not sure if this'll work on stock music (so will playMusic "05 - Secret" work?).

So my three questions are:

- Will stock music work on the playMusic command?
- If playMusic plays the music, then what command turns it off?
- How would I make it so that when the player gets in a car (or designated car) the trigger/new radio actions gets activated?

Thanks all.

:)

Chris
« Last Edit: 04 Oct 2007, 03:55:18 by Chris »
Need proof-reading for anything? Need a banner for your upcoming mod? Need a pic for your mission? Hit me up with a message. I have a bit of knowledge in Photoshop and formal/military writing.
Be sure to provide sufficient details when posting what you want requested. Thanks guys!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Car radio
« Reply #1 on: 04 Oct 2007, 10:18:27 »
Check this  ;)

Offline Chrispy

  • Members
  • *
  • You never saw me! ;)
    • Delta Zero
Re: Car radio
« Reply #2 on: 16 Oct 2007, 07:43:15 »
Dang it's a Resistance map lol. That's fine mate, don't worry.

Chris :)
Need proof-reading for anything? Need a banner for your upcoming mod? Need a pic for your mission? Hit me up with a message. I have a bit of knowledge in Photoshop and formal/military writing.
Be sure to provide sufficient details when posting what you want requested. Thanks guys!