Currently, the toolset description of this function is a little off. If oItem is invalid it will not return as zero (the row for cloth in armorrulesstats.2da). This is an important distinction as this function is often used in conjunction with Get2DAString and using a conversion function such as StringToInt will cause the entire script executing the function to shut down. However, there is a simple workaround for this problem. For example, to find the Armor check penalty of oItem:
Graph IRI | Count |
---|---|
http://dbkwik.webdatacommons.org | 7 |