Difference between revisions of "GetItemValue"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
(Automated import of articles)
 
imported>Odessa
(+note)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''GetItemValue'''
{{Function
#redirect [[GetItemValue]]
|origin = FOSE1
|summary = Returns the base value of the specified object or [[calling reference]].
|name = GetItemValue
|alias = GetValue
|returnType = int
|referenceType = ref
|arguments =
  {{FunctionArgument
  |Name = item
  |Type = form
  |Optional = y
  }}
}}
==Example==
<pre>
int iValue
 
set iValue to GetValue Weap10mmPistol
</pre>
==Notes==
*This function will not return a value for Ingestibles, as their value is specified internally in a separate location.
[[Category:Functions_(FOSE)]]

Latest revision as of 11:49, 1 September 2014

< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the base value of the specified object or calling reference.

Syntax

[help]
(int) ref.GetItemValue item:form 

Or:

(int) ref.GetValue item:form

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.