
Posts
643
Respect
261Add +1
Forum Rank
Zombie Enslaver
Primary Group
Mapper
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!

![]() | Has released one or more maps to the UGX-Mods community. |
thread play_thunder();play_thunder()
{
while(1)
{
players = get_players();
for(i=0;i<players.size;i++)
players[i] playsound("thunder");
wait randomintrange( 30, 91 );
}
}![]() | Has released one or more maps to the UGX-Mods community. |
![]() | 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 |
He said 2D sound, he don't need the players part does he?
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | 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 dont know another way.. I guess theres the setmusicstate thing maybe. I dont know much about sound
play_thunder()
{
while(1)
{
players = get_players();
players[0] playsound("thunder");
wait randomintrange( 30, 91 );
}

![]() | Has released one or more maps to the UGX-Mods community. |
thunder_rumble,,SFX/thunder/thunder_##,,1,1,,,6,oldest,,,rfl_1st,,,,,,,,,,2d,,,,0.75,,,,,,,wpn_all,,,,,,,,,,,,90,90,0.25,1,,play_thunder()
{
while(1)
{
players = get_players();
for(i=0;i<players.size;i++)
players[i] playsound("thunder_rumble");
iPrintLn( "Thunder test working" );
wait randomintrange( 30, 91 );
} SFX/thunder/thunder_##![]() | |
![]() | 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 |
Also do PlayLocalSound rather than PlaySound
![]() | |
![]() | 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 |
what does that do?
![]() | 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. |