GetItemValue

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Returns the base value of the specified BaseForm or calling reference. If a calling reference is specified, its BaseForm is derived.

Syntax

[help]
(int) itemRefr.GetItemValue item:baseForm 

Or:

(int) itemRefr.GetValue item:baseForm 

Example

int iValue

set iValue to GetValue Weap10mmPistol

Notes

  • This function will not return a value for Ingestibles, as their value is specified internally in a separate location.
  • Does not appear as a Condition Function for Perk Entry Points.

See also

  • GetValueAlt - fixes the aforementioned issue with Ingestibles.