Background for Fallout 4
Member of the ObjectReference script
intfunctionGetInventoryValue()Native

Description

Wiki Description

Returns the value of this reference's inventory.

Documentation Comment

Obtains the value of all objects in this reference's inventory


Caveats


Examples

if (BossChest.GetInventoryValue() > 100)
  Debug.Trace("The boss chest contains items of value! (Or a lot of cheap junk...)")
endIf

Auto-Generated Example

int returnedValue = myObjectReference__toCallFunctionOn.GetInventoryValue()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.