Show / Hide Table of Contents

GetCost


Cost Related Function

The GetCost function returns the Entity's price currently executing the logic. Use this function to return the Entity's actual, accumulated dollar amount.

Syntax

GetCost()

Examples

Var1 = GetCost()

The following example displays an Entity's cost whenever it enters the Truck Location. The initial Entity cost is 50.

Display GetCost()

GetCost Example 1


GetCost Example 2

In This Article
Back to top Generated by DocFX