[Closed] Birth Script Operator in Particle Flow and FFD Modifiers
Hi every1
This is my first post ever I think.
I am using 3D Max…Not 4 the first time
I am using Max script 4 the first time
I will try to explain the problem
I am using a Birth Script Operator in Particle Flow; to blow some roof sheeting off of a roof.
The problem lies in that the reference Geometry that the Script uses is animated with a FFD Modifier.
The FFD animation is not showing up in the view port…unless you go forward 2 frames and back 1 frame…then it refreshes.
This is probably simple and believe me when I say “I have read so much about Max Script to no avail”
Thanks guys
Now…The script goes a followed
on ChannelsUsed pCont do
(
pcont.useposition = true
pcont.useshape = true
)
on Init pCont do
(
global Galves = $Galve_* as array
)
on Proceed pCont do
(
t1 = pCont.getTimeStart() as float
t2 = pCont.getTimeEnd() as float
if ((t1 <= 0) and (t2 >= 0)) then
(
(
pcont.addparticles Galves.count
for i in 1 to Galves.count do
(
pcont.particleindex = i
pcont.particleshape = Galves[i].mesh
pcont.particleposition = Galves[i].position
)
)
)
)
on Release pCont do
(
)