float opdigits(string name)
This function will return the numeric value of the last set of consecutive digits in a node's name. It is used when building several similar networks. This expression expects a path to a node, if the node doesn't exist, it will return 0.
opdigits(".") means the digits of the node that the expression is in. Tip: It is the same as the variable
opdigits("..") means the digits of the parent of the node. Tip: It is the same as the variable
opdigits("../..") is the digits of the parent of the parent.
opdigits("/obj/geo22") = 22 opdigits("..") = 7 (if the current component is named geo7 for example)