Linkrulezall Posted November 2, 2013 I've got this flashlight that's about 90% working, however there's one problem. When you point the flashlight at an enemy, it causes them to bleed all over the place. Does anyone know how to fix this? Here is the code for the Fire and Hold states that's causing problems: Fire: SFLG A 0 A_PlaySoundEx("flashlight/click","Weapon") SFLG A 0 A_PlaySoundEx("flashlight/hum","SoundSlot5",1) SFLF A 0 A_Light2 SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam1") SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam2") SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam3") SFLF A 0 BRIGHT A_Refire SFLG A 0 A_PlaySoundEx("flashlight/click","Weapon") SFLG A 0 A_StopSoundEx("SoundSlot5") SFLF A 0 A_Light0 goto Ready Hold: SFLF A 0 A_Light2 SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam1") SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam2") SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam3") SFLF A 0 BRIGHT A_Refire SFLG A 0 A_PlaySoundEx("flashlight/click","Weapon") SFLG A 0 A_StopSoundEx("SoundSlot5") SFLF A 0 A_Light0 Goto Ready The problem seems to be originating from the use of A_FireBullets. Is there some flag to change either on the light itself or on the enemies so that they won't bleed in the light like a vampire? (The DamageType is set to Flashlight) 0 Share this post Link to post
GreyGhost Posted November 2, 2013 Adding the +BLOODLESSIMPACT flag to your flashlight might fix it. 0 Share this post Link to post
Phml Posted November 2, 2013 Title and wobbly eyesight made me think this was going to be a very different topic. 0 Share this post Link to post
plums Posted November 2, 2013 Phml said:Title and wobbly eyesight made me think this was going to be a very different topic. LMAO. "Use more lube" ? 0 Share this post Link to post
Linkrulezall Posted November 2, 2013 I didn't think to use +BLOODLESSIMPACT at the time, but +AXEBLOOD fixed the problem. Since flashlights that don't suck seem to be in short supply around here, maybe I should post it somewhere? 0 Share this post Link to post