
Posts
560
Respect
430Add +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. |
PlayLoopedFX(level._effect[fx], self.speed, self.origin);
wait(60);
// something here to kill the fx


level.use_fx = true;
while(level.use_fx == true)
{
playfx(level._effect[fx], fx.origin)
wait(1);
}
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
fx = spawn( "script_model", some_origin );
fx setModel( "tag_origin" );
fx.angles = some_angles;
PlayFxOnTag( level._effect[some_fx], fx, "tag_origin" );
//wait some time or whatever event happens
fx delete();
![]() | Has released one or more maps to the UGX-Mods community. |
Works great now, but is there a way to stop the fx then still be able to use it again later with the same trig?
Right now i activate the trigger, the fx plays then stops after 60 seconds then the trigger reactivates after an additional 45 seconds but when I trigger it again there is no fx because i deleted the tag it was playing on earlier. Is there a way to just stop the fx and not delete it?
![]() | 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 |
Works great now, but is there a way to stop the fx then still be able to use it again later with the same trig?
Right now i activate the trigger, the fx plays then stops after 60 seconds then the trigger reactivates after an additional 45 seconds but when I trigger it again there is no fx because i deleted the tag it was playing on earlier. Is there a way to just stop the fx and not delete it?

![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Works great now, but is there a way to stop the fx then still be able to use it again later with the same trig?
Right now i activate the trigger, the fx plays then stops after 60 seconds then the trigger reactivates after an additional 45 seconds but when I trigger it again there is no fx because i deleted the tag it was playing on earlier. Is there a way to just stop the fx and not delete it?
for(;;)
{
fx = spawn( "script_model", some_origin );
fx setModel( "tag_origin" );
fx.angles = some_angles;
PlayFxOnTag( level._effect[some_fx], fx, "tag_origin" );
//wait some time or whatever event happens
fx delete();
wait 1;//change this to how long the fx is playing, or else the fx will spawn while the ohter is still playing as it would slow the game down due to the FPS.
}![]() | Has released one or more maps to the UGX-Mods community. |
Last small question then I'll mark the best answer. Is there a way to play the same fx in multiple spots when triggered. Is there a way I can use an array or do I have to spawn more fx in the script? 
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Wow thanks guys it works good now.Last small question then I'll mark the best answer. Is there a way to play the same fx in multiple spots when triggered. Is there a way I can use an array or do I have to spawn more fx in the script?
![]() | Has released one or more maps to the UGX-Mods community. |