FORUMS: list search recent posts

Mel 'and' command

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
stephen flynn
Mel 'and' command
on Jul 20, 2009 at 11:13:55 am

Hello

I'm trying to follow the gnomon ground blast tutorial however there's a section towards the end where a conditional mel script is trying to control particle emission based on two factors, I think speed and height of the emitter.
Basically the tutorial states 'if' the emitter is traveling at this speed 'and' is this height then stop particle emission. The problem I'm having is the tutor types some form of shorthand for the 'and' command and it appears to small on screen to read. It looks something like &&but is not this as I've tried it! I've attached a screen capture of the mystery command below.

http://www.compostcreative.com/Mel.jpg

Any help gratefully appreciated!


Return to posts index

Michiel Duvekot
Re: Mel 'and' command
on Jul 20, 2009 at 1:24:52 pm

The logic operator AND is written as && in MEL

See http://download.autodesk.com/us/maya/2009help/files/Controlling_the_flow_of...


Michiel
http://www.thnkr.com


Return to posts index

stephen flynn
Re: Mel 'and' command
on Jul 20, 2009 at 1:49:07 pm

worked like a charm, many thanks




Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]