sparton646 Posted May 22, 2015 Share Posted May 22, 2015 I'm looking for a way to Detect a weapon's upgrades(scope,Ammo strap,etc) and return true if it detects a specific one Any Ideas? Link to comment Share on other sites More sharing options...
ORMtnMan Posted May 23, 2015 Share Posted May 23, 2015 I'm looking for a way to Detect a weapon's upgrades(scope,Ammo strap,etc) and return true if it detects a specific one Any Ideas? Look for the Get series of calls. E.G. getScope(), getCanon etc. I think those store what mod is attached. There is reference to them in the ISUIInventoryContextMenu lua file.also in one of the reloading files for the shotgun swan off recipe Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now