GetItemValue

From the Fallout3 GECK Wiki
Revision as of 05:55, 31 May 2014 by imported>Odessa (this does not work when called in ref.func, it needs to be func ref only.added example)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the base value of the object.

Syntax

[help]
(int) GetItemValue item:ref 

Or:

(int) GetValue item:ref

Example

int iTotal
ref rItem

let rItem := SomeItem

let iTotal += (GetValue rItem)

; * replace let with 'set .. to ..' if not using NVSE 4.

See Also

Let