Post: Deleting FX?
04-01-2016, 06:55 AM #1
akse
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Hey. I was wondering if there is a possibility to delete an effect. Let's say i don't want to see any blood when the guy i killed dies.

(I think this is the right FX for that.)
level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");

how do i make it so this does NOT show when the enemy gets killed?
(adsbygoogle = window.adsbygoogle || []).push({});
04-01-2016, 08:57 AM #2
iRnZ
NextGenUpdate Elite
foreach(player in level.players)
if(self.pres["team"] != player.pres["team"])
self waittill("kill", player);
!level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");

some examples
04-01-2016, 04:52 PM #3
akse
Do a barrel roll!
Originally posted by iReZ View Post
foreach(player in level.players)
if(self.pres["team"] != player.pres["team"])
self waittill("kill", player);
!level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");

some examples


Thanks, but this is just going to put the Blood back in again. I want it to NOT show anymore.
04-01-2016, 05:57 PM #4
ItsShockwave
Pokemon Trainer
use a loop on it maybe it will work and then tie the function to on player spawned
04-01-2016, 06:37 PM #5
iRnZ
NextGenUpdate Elite
Originally posted by akse View Post
Thanks, but this is just going to put the Blood back in again. I want it to NOT show anymore.


use loop for(;Winky Winky or while(1)
and like ItsShockwave said put on player spawned

The following user thanked iRnZ for this useful post:

ItsShockwave
04-01-2016, 06:52 PM #6
Patrick
League Champion
Edit: Didnt read the question properly.
04-01-2016, 06:53 PM #7
ItsShockwave
Pokemon Trainer
You may want to do, this is just an example
    
StopBlood() { for( ;; ) {foreach(player in level.players)
if(self.pres["team"] != player.pres["team"])
self waittill("kill", player);
!level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit"); } wait .1;}

some for( ;; ) functions freeze without the wait .1; and you may also have to precache the effect

The following user thanked ItsShockwave for this useful post:

iRnZ

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo