Posts
69
Respect
60Add +1
Forum Rank
Rotting Walker
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. |
Very nice, thanks.
I noticed something in the script: Your functions pick1() and pick2() both thread your build() function, so essentially you have 2 of the same build() functions running in parallel, and build() won't break if you only have 1 part, because the first line wait's until the variable level.allParts equals 2.
Does this explain why some custom maps are playing the power up sound twice for players when you hit the power switch?
The way you have it set up is perfect, but instead of threading build() two times in the pick1() and pick2() functions, just thread build() once before pick1() & pick2() are threaded, and it will only execute once after the variable level.allParts= 2. Then of course remove the "thread build()" line from pick1() and pick2().
Maybe i'm reading it wrong or something, but just thought I would give some potentially helpful feedback. Thanks again, this is very useful.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
i put the script into to my gsc and loaded the game after i did everything and i got fatal error "getweapon" with 0 parameters in script at line 306
***unresolved external "getweapon" with 0 parameters in script
and this is what is at line 306, weapon = GetWeapon( PAP_WEAPON_KNUCKLE_CRACK );
can anyone help?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
UGX V.I.P. | |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
You're getting an unresolved variable, which probably means the .gsh file in which PAP_WEAPON_KNUCKLE_CRACK is defined isn't getting parsed or included somewhere. Or simply that PAP_WEAPON_KNUCKLE_CRACK isn't defined. In my script I did it differently, like this
and in that script at the top I put
I may be wrong, but good luck.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Aye mate you don't know me so y don't you shut tf up ok buddy
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Box Mappers Elite | |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
That's cool, how did you crop that part of his tutorial in your reply?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |