liquidsolid
liquidsolid
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
grouping particles by $LIFE 2011年4月14日15:02
I can't believe I am asking this but I am incredibly frustrated….. it should just be a simple expression in the group node $LIFE < .1 but it's not working……….. I want to group the particles that are just being born, any help would be greatly appreciated
Hscript inline function 2011年3月15日14:44
nice! thank you! it never occurred to me to use the false statement as a way to trigger another conditional……. I like the inline as it feels easier to read…..
Thanks man you are the best!
Thanks man you are the best!
Hscript inline function 2011年3月15日13:59
right but I don't want a simple expression…… I have 5 if statements that I want to evaluate and return different values.
so something like this:
if ($F == 1, 1, 0)
will give me 1 if it's true and 0 if it's false
if i do this:
if($F == 1, 1, 0) || if($F == 5, 10, 0)
it will only return a 1 or a 0 not 1 or 10….. I want to do an inline function but I can't figure out the sytanx in hscript. I know how to create a python function to do this but not hscript
so something like this:
if ($F == 1, 1, 0)
will give me 1 if it's true and 0 if it's false
if i do this:
if($F == 1, 1, 0) || if($F == 5, 10, 0)
it will only return a 1 or a 0 not 1 or 10….. I want to do an inline function but I can't figure out the sytanx in hscript. I know how to create a python function to do this but not hscript