Scripted access to event count
#2
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
  Reply


Messages In This Thread
Scripted access to event count - by s_goemon555 - 11-21-2021, 09:45 AM
RE: Scripted access to event count - by tyFlow - 11-21-2021, 04:16 PM

Forum Jump: