View Single Post
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-02-2016 , 20:48   Re: How to detect weapon switch
Reply With Quote #5

Another idea is to just check the item definition index, put all non-stock weapons in an empty switch case, and then default will cover all the sniper rifle reskins and any new ones that are added to the game.

However if something like the star shooter is added which is actually a Machina reskin, you'll have to update it. However it will still cover the majority of these new weapon skins for the future going forward.
__________________
Chdata is offline