modecom2
|
  |
| Joined: 18 Jul 2009 |
| Total Posts: 114 |
|
|
| 11 Jul 2016 05:54 AM |
How do i make a music start playing when i press "p" and stop when i press "o"?
Thanks! |
|
|
| Report Abuse |
|
|
| |
|
dev_Alekz
|
  |
| Joined: 14 Sep 2013 |
| Total Posts: 171 |
|
|
| 11 Jul 2016 06:02 AM |
I won't give you the code because I'm mean but I'll give you a clue
You have the sound instance and you put it in the player and then when the player presses the "p" key, an event is fired, when that event is fired, you want to play the sound
That's all I'll say |
|
|
| Report Abuse |
|
|
modecom2
|
  |
| Joined: 18 Jul 2009 |
| Total Posts: 114 |
|
|
| 11 Jul 2016 12:18 PM |
I imagine how the script would look like more less. But the thing is... i totally suck at scripting :P |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2016 12:20 PM |
| Glorb.... where are my papers? e.e |
|
|
| Report Abuse |
|
|
modecom2
|
  |
| Joined: 18 Jul 2009 |
| Total Posts: 114 |
|
|
| 11 Jul 2016 01:56 PM |
| Will anyone be that kind... I know it's stupidly easy to make, but really i'm VERY bad at scripting cuz ima builder :( |
|
|
| Report Abuse |
|
|