Next
Resource-Specific System Function
The Next function returns the name-index number of the Resource's destination node. Use Next to determine an Entity's direction and choose the appropriate graphic.
Syntax
Next()
Examples
Var1=Next()
If Next() = PathNet5.N11 Then
{
Var5=3
}
Remarks
This function can be used to control interference between multiple transporters on the same Path Network. You can also check the name-index number of the next node by specifying path network name.name of the node. For example, if you wanted to know if the next node is N5 on the network Net3, you cam specify "If Next() = Net3.N5 Then..." in the node exit logic.
Next is valid in node exit logic.