Zzyxzz Posted January 21, 2017 Share Posted January 21, 2017 Hello, i got a small problem.... When i check in an onHit Event, on a hunting rifle that has been converted to .50 with: haskeyword(dn_HasReceiver_Converted50) it fails.I checked it ingame with the console/wornhaskeyword and it returns 1/true Seems like, keywords added by object mods, are not detected by haskeyword. Is there a workaround? Thanks,Zzyxzz Link to comment Share on other sites More sharing options...
shavkacagarikia Posted January 21, 2017 Share Posted January 21, 2017 Have you tried using wornhaskeyword() instead? Link to comment Share on other sites More sharing options...
Zzyxzz Posted January 21, 2017 Author Share Posted January 21, 2017 Have you tried using wornhaskeyword() instead? This works. Checking the weapon directly will return false, BUT you have to check the actor directly! Bad:(akaggressor as actor).getequippedweapon(0).haskeyword(KeywordAddedByObjectMod) Better:(akaggressor as actor).wornhaskeyword(KeywordAddedByObjectMod) As reference for others. Thanks Link to comment Share on other sites More sharing options...
jags78 Posted November 21, 2019 Share Posted November 21, 2019 Was struggling with the same problem. Thx for the reference. Link to comment Share on other sites More sharing options...
Recommended Posts