clump.contactnum.all

Syntax

ir = clump.contactnum.all(c<,i>)

Get number of contacts around a clump. Inactive contacts are included. The optional argument enables filtering by contact type.

Note

Contacts with all pebbles in c are counted. Use the clump.pebble.contactnum.all function to retrieve the contact count with a given pebble.

Returns:

ir - contact number

Arguments:

c - clump pointer

i - optional unique contact type identification integer