UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Stop OR Delete spawned FX

broken avatar :(
Created 7 years ago
by AWPh4nToM
0 Members and 1 Guest are viewing this topic.
2,783 views
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 9 May 2015
Last active: 3 years ago
Posts
17
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
Turn The Power On
Signature
if it were that simple...
×
AWPh4nToM's Groups
AWPh4nToM's Contact & Social Links
Hi  :)

I use this code to spawn "FX"

Code Snippet
Plaintext
fx = spawn("script_model", (-337.5,640,178.5));
fx setModel("tag_origin");
playFxOnTag("dlc0/factory/fx_laser_hotspot_factory",fx,"tag_origin");
//wait 5;

But i don't know how can i stop or delete after X seconds.

Can someone help me ? Thanks a lot  ;)
Marked as best answer by AWPh4nToM 7 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 17 February 2014
Last active: 1 year ago
Posts
69
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
What is broken can be reforged
Signature
Completed maps:
Kingdom Hearts - World at War Link
Minecraft - Black ops 3 Link

WIP:
~

×
shinged's Groups
shinged's Contact & Social LinksShingedvinny545TheShingedMatarra_
Hi  :)

I use this code to spawn "FX"

Code Snippet
Plaintext
fx = spawn("script_model", (-337.5,640,178.5));
fx setModel("tag_origin");
playFxOnTag("dlc0/factory/fx_laser_hotspot_factory",fx,"tag_origin");
//wait 5;

But i don't know how can i stop or delete after X seconds.

Can someone help me ? Thanks a lot  ;)

wait( x );
fx delete();
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Just an fyi,
Depending on your fx, if it has a delay in an element, it will continue to play until that element finishes. If you want it to stop immediately, which is seldom an issue, you will have to use csc.

 
Loading ...