Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Music in cars
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Music in cars (Read 487 times)
0 Members and 4 Guests are viewing this topic.
Batdog
Members
OFPEC'S only rat. DAMN thats cool.
Music in cars
«
on:
06 Aug 2003, 09:52:50 »
How do u get music when the player get in any car the music starts and just keeps going.
Any help?
Logged
"Why are you calling me brother."- Solid Snake
"I'm you. I'm your Shadow"-Liquid Snake
LAPD
Guest
Re:Music in cars
«
Reply #1 on:
06 Aug 2003, 13:06:23 »
Put a trigger with this condition field:
Code:
[Select]
UnitName in VehicleName
UnitName is a name of a player
VehicleName is the name of the ... well, vehicle.
Of course, you should activate the music with this trigger.
«
Last Edit: 06 Aug 2003, 13:06:49 by LAPD
»
Logged
rhysduk
Former Staff
Re:Music in cars
«
Reply #2 on:
06 Aug 2003, 13:14:06 »
This is how i would do it :-
1. - Make / get the music file and place it in the Music FOlder where ur mission is situated.
2. - Make a trigger with axis of 0 (both axis shold be set to this). In the On Activation Field of the trigger exec the Music file however u want.... "PlayMusic" i think should work ......
EG :- PlayMusic "musicfilename.ogg"
3. - Set the Activation Conditions to West, not sure if its Repeatedly or Once...
4. - Group the Trigger to the vehicle that u want the music to play in...
LCD will tell u if im right or not on point 4 ;D. Me had trouble with that and the guy helped me out ;D
im not sure if this is right or wrong so someone will have to tell me... Try it - it might work !!
Rhys
Logged
Reviewed Missions Board
: Please
Read
the
User's Guide
before posting!
Pride and Joy 1 (HW100-T)
Batdog
Members
OFPEC'S only rat. DAMN thats cool.
Re:Music in cars
«
Reply #3 on:
06 Aug 2003, 13:55:45 »
ok. I'll try that. Man my mission will kick arse when its done. LCD knows everything. (I hope) about mission making.
Logged
"Why are you calling me brother."- Solid Snake
"I'm you. I'm your Shadow"-Liquid Snake
Batdog
Members
OFPEC'S only rat. DAMN thats cool.
Re:Music in cars
«
Reply #4 on:
06 Aug 2003, 14:06:27 »
K got it working. Thxs LAPD and rhysduk for your help. Now i can have my radio sound file work in the car. Guess I dont LCD help. Any way Thx ;D
Logged
"Why are you calling me brother."- Solid Snake
"I'm you. I'm your Shadow"-Liquid Snake
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Music in cars
Top of page