
Posts
184
Respect
39Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
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. |
![]() | 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'm looking to make an FX play upon receiving grenade damage, a trigger_use or touch will not work. Any help? Thanks in advance.
![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Yes with a trigger_damage, however the tutorial says it can be used with trigger_use and trugger_multiple.



![]() | 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. |
![]() Oil Rig Beta Access |
(or that one is trigger_hurt, lol)
![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
^
A trigger_damage is basicly a trigger_use, but gets triggered if you shoot ( or nade ) it. Just make sure to set the spawnflags in radiant correct, and i assume it'll just work with easy-fx. I dont use easy-fx though, so not based on experience..
And in this question, I also mixed the thing with "grenade damage" (thought you meant when player takes damage from grenade...)![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
thread fx_activation(); // Under zombiemode in mapname.gsc, add this
level._effect["explosion1"] = loadFX("folder/fxname"); // add this in precache my FX part, change names
fx_activation()
{
explosion = GetEnt("explosion","targetname"); // Make a script origin and put this KVP, place that where explosion
// will be
trig = GetEnt("trig", "targetname"); // Make the trigger and put this KVP
trig waittill("trigger", player);
trig delete();
playFx(level._effect["explosion1"], explosion.origin);
}![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Thanks Hitman. What if i wanted to play a looping FX that then stops on a trigger?
thread fx_activation_loop(); // Under zombiemode in mapname.gsc, add this
level._effect["explosion1"] = loadFX("folder/fxname"); // add this in precache my FX part, change names
fx_activation_loop()
{
explosion = GetEnt("explosion","targetname"); // Make a script origin and put this KVP, place that where explosion
// will be
trig = GetEnt("trig", "targetname"); // Make the trigger and put this KVP
wait 0.5;
playFx(level._effect["explosion1"], explosion.origin);
trig waittill("trigger", player);
trig delete();
explosion delete();
}![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Thanks man, I appreciate you taking the time to help on such a simple topic!
