argent77 Posted February 1, 2012 Share Posted February 1, 2012 I want to make sure a script detects a certain item in my possession, be it in an inventory slot, equipped or somewhere deep within my bags. Which method is more reliable? PartyHasItem("MYITEM") or OR(6) HasItem("MYITEM", Player1) HasItem("MYITEM", Player2) HasItem("MYITEM", Player3) HasItem("MYITEM", Player4) HasItem("MYITEM", Player5) HasItem("MYITEM", Player6) Link to comment
Miloch Posted February 1, 2012 Share Posted February 1, 2012 They should do the same thing, meaning 1 line of code is preferable to 7, no? Link to comment
argent77 Posted February 1, 2012 Author Share Posted February 1, 2012 They should do the same thing, meaning 1 line of code is preferable to 7, no? Good point. I was hoping there would be a difference, because in some of my past walkthroughs where I had the Item Upgrade mod installed, Cromwell didn't always detect some of my components. I think they used HasPartyItem() in their scripts. Link to comment
lynx Posted February 1, 2012 Share Posted February 1, 2012 could be just bugs in the scripts, eg. wrong item resrefs. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.