• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maxscript and FFX
#8
This function should give you an array of sources that the fume is dependent on. Not exactly what you want but close:

fn GetFumeSources MyFume =
(
SourceArray = #()
for obj in objects where classof obj == Particle_Src or classof obj == Simple_Src or classof obj == Object_Src do
(
isDependant = false
for dep in refs.dependents obj where dep == Myfume while isDependant == false do isDependant = true
if isDependant then append SourceArray obj
)
SourceArray
)

myFumeSources = GetFumeSources $FumeFX01

if you want space warps, lights etc you can just change the "for obj in...." line to filter what you want
Jordan Walsh
VFX Technical Director

Showreel 2012
Check out my scripts on ScriptSpot!
  Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)