Value (deprecated)

Category: Objects / Status
Since engine version: 4.6.5.0 CP

Description

Returns a property of a definition.

Syntax

int Value (id idDef);

Parameter

idDef:
ID of the definition of which you want to request a property.

Remark

Calling Value() does not invoke a call to CalcDefValue() but directly returns the DefCore value of the definition (notice this might have been overloaded in Scenario.txt). You should use GetValue instead with proper parameters.
See also: GetValue
Sven2, Juni 2003