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()