GetItemCount - ObjectReference: Difference between revisions
Jump to navigation
Jump to search
m
→Notes: typos
imported>Terra Nova2 m (→Notes: Dont call this on an objectrefernce outside of its cell.) |
imported>Terra Nova2 m (→Notes: typos) |
||
| Line 38: | Line 38: | ||
* If the argument akItem is a keyword and the object reference contains CK-defined items (Object References) then this function will fail to operate properly ([http://forums.bethsoft.com/topic/1441239-cant-getitemcount-on-the-pc-via-formlist-of-keywords/page__view__findpost__p__22215007 Source]) : it fails to include the CK-defined inventory when GetItemCount tries to calculate its count. | * If the argument akItem is a keyword and the object reference contains CK-defined items (Object References) then this function will fail to operate properly ([http://forums.bethsoft.com/topic/1441239-cant-getitemcount-on-the-pc-via-formlist-of-keywords/page__view__findpost__p__22215007 Source]) : it fails to include the CK-defined inventory when GetItemCount tries to calculate its count. | ||
*Calling this function on | *Calling this function on an objectreference from the outside of its cell will return 1 in the case of the passed in form being in a leveled list. Needs more testing.. but works fine if the player is in the same cell. | ||
== See Also == | == See Also == | ||