primsmap
expression function
Returns a string from a list of strings in a primitive attribute.
Usage
primsmap(surface_node, attribute, index)
This function will return the indexth unique string bound to the given prim attribute. Use primsnummap to find the total number of unique strings. Note that the exact order of the strings is should not be relied upon. The indexes start with 0 and go to primsnummap()-1.
Examples
primsmap("/obj/geo1/attribcreate1", "foo", 0)
Returns the first unique string in the foo attribute.