



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!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. |
bo2_weapon_light()
{
fx_1 = GetEntArray("weapon_upgrade","targetname");
wait 1;
for(i=0;i<fx_1.size;i++)
playFx(level._effect["wall_weapon_light"], fx_1[i].origin);
}
wait 1;
for(i=0;i<fx_1.size;i++)
i<fx.size;
i++
![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
bo2_weapon_light()
{
fx_1 = GetEntArray("weapon_upgrade","targetname");
wait 1;
for(i=0;i<fx_1.size;i++)
playFx(level._effect["wall_weapon_light"], fx_1[i].origin);
}
fx_1{[0,ent],[1,ent],[2,ent]}
fx_1[ent,ent,ent]
// 0, 1, 2 indexes
myarray = [];
myarray["test"] = "this is a test";
iprintlnbold(myarray["test"]);
myarray["test2"] = "this is only a test";
iprintlnbold(myarray["test2"]);
myarray{["test","this is a test"],["test2","this is only a test"]}
![]() | 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. |
*above this post*
![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I appreciate the amount of time and effort you have put into typing this up, this pretty much explains a lot for me, thanks.
No prob. Arrays are fun. Just wait until you get multidimensional arrays! (Arrays in arrays) Super fun.
![]() | 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 |
The wait 1; is pretty much useless. It just waits a second before playing the fx on each ent in the array.
![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I hope that was sarcasm. Those things can be total hell if they get big enough. Lol
I added the wait line due to sometimes script messing up for me, if I didnt do wait line. I think you told me this like year ago, when I was asking why some script didnt work, lol
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
I added the wait line due to sometimes script messing up for me, if I didnt do wait line. I think you told me this like year ago, when I was asking why some script didnt work, lol
while( 1 )
{
wait 1;
}
while( 1 )
{
self waittill( "trigger", user );
}
while( 1 )
{
self waittill( "notify" );
}
while( 1 )
{
self waittill( "notify" );
wait .1;
}