Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: XxCAFxX
could someone script me something where when all of the players go down except for one a song plays?
ModmeBot:
Reply By: natesmithzombies
This has been tested and I can guarantee that it works:
1) Add this to the bottom of mapname.gsc
2) Add this to the top of your function main in mapname.gsc:
3) Make sure you have your alias set up and you switch the alias in the script to match your sound
ModmeBot:
Reply By: Abnormal202
Oh man, I spent like an hour trying to write a script for this and just couldn't figure it out. I'll try to learn from my mistakes though and see how your script works, NSZ.
Also on an unrelated note, you don't happen to know anything about Zombie Spawners, do you?
ModmeBot:
Reply By: XxCAFxX
natesmithzombies
This has been tested and I can guarantee that it works:
1) Add this to the bottom of mapname.gsc
2) Add this to the top of your function main in mapname.gsc:
3) Make sure you have your alias set up and you switch the alias in the script to match your sound
I'm probably doing something wrong but its not working, i tried on splitscreen if that makes a difference, if you need more info let me know.
ModmeBot:
Reply By: natesmithzombies
XxCAFxX
natesmithzombies
This has been tested and I can guarantee that it works:
1) Add this to the bottom of mapname.gsc
2) Add this to the top of your function main in mapname.gsc:
3) Make sure you have your alias set up and you switch the alias in the script to match your sound
I'm probably doing something wrong but its not working, i tried on splitscreen if that makes a difference, if you need more info let me know.
I tested it on splitscreen myself to make sure it worked. You did step 2 correct?
ModmeBot:
Reply By: XxCAFxX
natesmithzombies
XxCAFxX
natesmithzombies
This has been tested and I can guarantee that it works:
1) Add this to the bottom of mapname.gsc
2) Add this to the top of your function main in mapname.gsc:
3) Make sure you have your alias set up and you switch the alias in the script to match your sound
I'm probably doing something wrong but its not working, i tried on splitscreen if that makes a difference, if you need more info let me know.
I tested it on splitscreen myself to make sure it worked. You did step 2 correct?
Yes, and ive changed the script alies to mine and added my song to the user alies but no avail
ModmeBot:
Reply By: Abnormal202
It worked well for me. What does the sound look like in the user_aliases? mine looks like:
and then I reference it in script with
Do you get any errors in Launcher when linking?
ModmeBot:
Reply By: XxCAFxX
Alright i got it working, thank you so much! it turns out it was because i was missing a sound somewhere else that had nothing to do with this script.