Posts
47
Respect
16Add +1
Forum Rank
Legless Crawler
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Fixed my code. Should hopefully work now. I still cant test it though lol
Yeah you are right. Solid code there man. Do you have a list of engine notifies? I never heard of menuresponse, but I am still new to scripting. Also you sure spawn("weapon_"+weapon ............) will work? I have never seen that either.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Completely untested because I am at work but paste this in the bottom of your mapname.gsc
and then under maps\_zombiemode::main(); add this:
This binds the drop weapon to action slot 2 if it works properly
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
you could do something like this that will use the actionslot 1 which is supposed to be the map button but zombiemode doesnt have a map so its free to use.
put this in your mapname.gsc and this before zombiemode::main();
although somewhere you might want to do a check that the player's weapon isnt a perk bottle or a grenade or something like that
isn't dropWeapon() an ai only function?
Edit: I added the entire funtion that im using for the weapon drop in my project, its an edited version of DUIPs tut
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
huh, the odds of me naming a two different functions the same from two different scripts and like 6 months apart?
anyways heres the fix
you could do something like this that will use the actionslot 1 which is supposed to be the map button but zombiemode doesnt have a map so its free to use.
put this in your mapname.gsc and this before zombiemode::main();
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
huh, the odds of me naming a two different functions the same from two different scripts and like 6 months apart?
anyways heres the fix
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
bad syntax
(Image removed from quote.)