CapsAdmin / pac3

advanced avatar customization for garrysmod
GNU General Public License v3.0
205 stars 94 forks source link

fire_bullets event isn't responding when firing a melee weapon #1285

Closed g3n3r1c-u53rn4m3 closed 1 year ago

g3n3r1c-u53rn4m3 commented 1 year ago

https://user-images.githubusercontent.com/112830178/236640587-6b50e728-001e-4f4d-9358-b55327950cf4.mp4

I tried to make a metrocop in the PAC3 system, and so far it'd been working out, but now i can't have a light show up when i fire my melee weapon. I've tested it on sandbox, on other weapons, it seems to just not respond when firing a melee weapon.

pingu7867 commented 1 year ago

that's because fire_bullets is not there to detect just any and all attacks, but specifically from weapons that use bullets...

the event to use for general attacks is animation_event, with "attack primary"

this is not a bug.

g3n3r1c-u53rn4m3 commented 1 year ago

ah. i see. thanks