GetResRate
General System Function
The GetResRate function returns the cost rate specified in ProModel's Cost or through the SetRate function for a Resource currently owned by the Entity making the function call.
Syntax
GetResRate({<resource>})
Examples
GetResRate()
GetResRate(Operator1)
Parameters
({<resource>})
An optional field that represents a Resource currently owned by the Entity making the function call. When you use GetResRate without this parameter, this function returns the cost rate of the Entity's most recently captured, owned Resource.
Remarks
GetResRate is valid in operation and move logic.
If an Entity owns multiple units of a Resource, the function returns the cost rate of the Entity's most recently captured Resource unit.