Value (deprecated since 4.9.1.0 GWE)

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.

Changelog

Date Author Version Description
January 2003 Funni 4.9.1.0 GWE Deprecated: This function is deprecated with extension of GetValue.
See also: GetValue
Sven2, June 2003