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

Play fx after trigger

broken avatar :(
Created 10 years ago
by fanmagic
0 Members and 1 Guest are viewing this topic.
2,909 views
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 2 years ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
Personal Quote
Payback
Signature
Tears Of The Fallen | Join the project https://discord.gg/8gDNQRj
×
fanmagic's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
Hello,
today I want to know how i can play a fx after I use a Trigger or how to hide and show the script-origin from the fx. If you can give me an answer together with an example I will be very happy :)

Thank you for your help...

-fanmagic.
broken avatar :(
×
broken avatar :(
Location: it
Date Registered: 5 September 2014
Last active: 10 months ago
Posts
282
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I belive purple is getting me...
×
IperBreach86's Groups
IperBreach86's Contact & Social LinksIperBreach86
You can use UGX easy fx:
http://ugx-mods.com/wiki/index.php?title=Easy-FX

Its very EASY to use (well, duh....)
And includes a varios array of functions that lets you personalize the way of displaying your fx :D
Ive personally used it before and its pretty cool!
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 2 years ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
Personal Quote
Payback
×
fanmagic's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
You can use UGX easy fx:
http://ugx-mods.com/wiki/index.php?title=Easy-FX

Its very EASY to use (well, duh....)
And includes a varios array of functions that lets you personalize the way of displaying your fx :D
Ive personally used it before and its pretty cool!

I know this tut but there is no tutorial how to hide or show a fx on this site
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods 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
I know this tut but there is no tutorial how to hide or show a fx on this site

To hide or show an fx, you would move away an ent that the fx is being played on and then bring it back to show. You can spawn and delete them just as easy though. I would suggest spawning a script_model, and setting the model to tag_origin model. Then playfxontag... If playing a looping fx, which would be the only reason to do things this way, it will continue to play on that model. You can then delete the model to stop the fx.

To give an example in script, more information would be needed. Here is the basics of playfxontag
Code Snippet
Plaintext
Effect_ID = level._effect["fxtoplayer"];//change to looping fx to play
Tag_Name = "tag_origin";//Change to tag to play fx on
Entity = GetEnt( "enttoplayfxon","targetname" );//if multiple with same targetname use getentarray and thread on each
PlayFXOnTag( Effect_ID, Entity, Tag_Name );
Last Edit: March 28, 2016, 02:53:51 pm by MakeCents

 
Loading ...