11-21-2021, 04:16 PM
You can iterate subanims of a tyFlow and see how many are of type 'tyEvent'. Ex:
Code:
eventCount = 0
for j in 1 to $.baseobject.numsubs do
(
if iskindof (getsubanim $.baseobject j) tyEvent then (eventCount += 1)
)
print eventCount