Notifications
Clear all

[Closed] Motion Flow

Hi guys,
I’ve been working on a Maxscripted based crowd simulator for about a year now. i’ve scripted it all pecice by pecice and now i’ve come to the last little heardle and i cant seem to work this out.

effectivly what im trying to do is to activate a moflow script.
what i’ve got is


For p = 1 to number_deligates  Do(
crowd_biped_moflow_controller[p].activeScript crowd_biped_moflow_controller[p].scripts[1] 
)

It keeps returning as undefined.
I’ve tried doing what the maxscript reference does which is


For p = 1 to number_deligates  Do(
test = crowd_biped_moflow_controller[p].activeScript crowd_biped_moflow_controller[p].scripts[1] 
)

but that returns a ** system exception **

can any one help?

3 Replies

Nice to see someone else from Uni of Portsmouth, Wish I had been able to check out the mocap facilities at Uni but I was on the BA Computer Animation in Eldon Building, so didn’t have access to them as easily as those on the Bsc Computer Animation.

yeah not many people from portsmouth uni on here, bit of a shame.

we try to encorage as many BA animation students to give mocap a go but not many of them try it.

hows life after uni?

sorry to double post, but i sorted this problem out.

you have to set the active script before you add snippits to the script otherwise it just wont work. would be useful to state that in the documentation, but hey wheres the fun in that!!