onMagazineEmptied event for Gun Item Modhook #4245
DerpyHoowes
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Title says it. An event that would be triggered, after player shoots the last cartridge in a magazine.
I assume it can be done, since we already have Hammer event, for which game probably checks if the magazine is empty, to decide if the Hammer animation should be played after reload, and hammer events should be triggered. Do the same check, but after each shot, and trigger an event, if after a shot the magazine is empty.
Would be useful for making guns that have their slides getting locked open, if the magazine is emptied out. Fairly common on many handguns and some rifles.
Beta Was this translation helpful? Give feedback.
All reactions