Overview:
This function is executed when a traveler enters this node from any direction. OnArrival happens when a traveler arrives at the node. OnContinue happens when the traveler continues down the next path.
Access variables:
current: the current object
traveler: the involved traveler that just entered
edgenum: the number of the edge that the traveler came through. The edge numbers for a given node are found by opening the node's properties, clicking on the General tab, then selecting Output Ports in the Ports section.