Jump to content

Specify multiple lines in an expression?


Guest ravin

Recommended Posts

Guest ravin

If I want to specify multiple lines in an expression in a channel, how would I do that? For example, I want to check velocity for some min value and also the particles y position, so something like : if(point("....",$PT,"v",0)<10, 1, 0) && if($ty< 10, 1 ,0). I want to check both of these conditions in a node's channel.

thanks,

Link to comment
Share on other sites

Guest ravin

wouldn´t that be: if(point("...",$PT,"v",0)<10 && $TY<10, 1, 0) ?

Thanks, it worked. I was entering the wrong expression and wasn't sure whether '&&' works or not.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...