Game Modding | Call of Duty: Black Ops 3 | Scripting
Nikon:
I've been looking for a script that allows the player to randomly teleport every round just like in Pistol Defence back in world at war's custom zombies map. I was wondering if there was a working script out there that allows random teleportation each round. Thanks.
Spiki:
Describe what happens in detail if you need someone to tp to a random spot its ez pz
Nikon:
Describe what happens in detail if you need someone to tp to a random spot its ez pz
In the world at war pistol defence map, after you'd end the round. Every player would randomly teleport to 1 of the 5 different locations. 4 spawns in 4 different tiny box rooms, and one spawn in the middle. I'm a little new to the modding scene so if I'm unable to explain in detail sorry about that.
Spiki:
In the world at war pistol defence map, after you'd end the round. Every player would randomly teleport to 1 of the 5 different locations. 4 spawns in 4 different tiny box rooms, and one spawn in the middle. I'm a little new to the modding scene so if I'm unable to explain in detail sorry about that.
all players go to the same box? i saw a video but it was single player
Nikon:
No, all players go to random boxes, but since it's purely random chance two players or more can end up in the same box
As I was trying to test it out I got this error while compiling it
Magicman:
As I was trying to test it out I got this error while compiling it [ATTACH=full]826[/ATTACH]
[ATTACH=full]827[/ATTACH]
looks like you put it in the csc file, not the gsc
worked perfectly for me
Nikon:
looks like you put it in the csc file, not the gsc
worked perfectly for me
I have it only in the gsc now, and it still doesn't work, what am I doing wrong?
Spiki:
I have it only in the gsc now, and it still doesn't work, what am I doing wrong?
did you put structs down? did you call the function?
Nikon:
did you put structs down? did you call the function?
I've put the structs down, but I'm not understanding what you mean by "calling the function"
Spiki:
I've put the structs down, but I'm not understanding what you mean by "calling the function"
threadpistol_def_tp();
in function main()
Nikon:
threadpistol_def_tp();
in function main()
This is what I have in my test maps gsc file. I'm not sure what to do with the structs either, I placed them down and put a targetname on them but they still won't work.
Magicman:
This is what I have in my test maps gsc file. I'm not sure what to do with the structs either, I placed them down and put a targetname on them but they still won't work.
you didn't thread the function in your main
I would add this: thread pistol_def_tp();
directly under line 62.
as for the structs, all the have to do is place them down and give them the targetname: pistol_def_tp_spot
Nikon:
you didn't thread the function in your main
I would add this: thread pistol_def_tp();
directly under line 62.
as for the structs, all the have to do is place them down and give them the targetname: pistol_def_tp_spot
Thanks dude! It works perfectly now. Thanks for the help!
Magicman:
Thanks dude! It works perfectly now. Thanks for the help!
no problem, but Spiki did most of the work. Always happy to help where I can
Nikon:
no problem, but Spiki did most of the work. Always happy to help where I can
Just put the script in my actual defence map and I got this script error. What happened here? Here's my gsc file for reference
Nikon:
Just put the script in my actual defence map and I got this script error. What happened here? [ATTACH=full]830[/ATTACH] Here's my gsc file for reference [ATTACH=full]831[/ATTACH]
Never mind, I fixed it. Thanks again!
ThomassOind:
Во области беттинга букмекерская учреждение 1triumph in ранее степень года берет на себя ставки в спорт действия также дает инвесторам хорошую подпись, отличные коэффициенты 1 win букмекерская контора также подвижное дополнение. В Книга Числе И в малом телефоне, пребывание присутствии устойчивого сети интернет, прибавление довольно функционировать. Ради Того Чтобы делать мониторинги в обожаемые выдержки, абонент обязан сформировать видеоигровой акк.
ThomassOind:
Во области беттинга букмекерская учреждение 1win ранее ряд возраст берет для себя ставки в спорт действия также дает инвесторам хорошую подпись, отличные коэффициенты 1win сайт также подвижное дополнение. В Часть Числе И в малом телефоне, быть присутствии устойчивого силок интернет, прибавление довольно функционировать. Ради Того Воеже совершать мониторинги в обожаемые выдержки, абонент обязан сформировать видеоигровой акк.