Stop (Point) Wrangle on "if is false"

   1344   3   1
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Is there a simple solution to stop a wrangles processing if a conditon is false?
Please see attached file.

Press play to see the “working” morph.
Then for example change a “Morph between” -> “Morph” to an non existing object.
Console should throw a message, and i like to stop then the wrangle.

Many thanks for any suggestions.
Edited by matthias_k - Feb. 17, 2020 18:47:10

Attachments:
multiparam_blend_try.hip (128.3 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
8539 posts
Joined: July 2007
Offline
matthias_k
Console should throw a message, and i like to stop then the wrangle.
you can for example type
return;
as a next line
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Merci :-)
English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Hi all,

is it possible to easily prefix the type, eg. vector or float,
to match the initial type without doubling code?

Please see attached file, same code for float and vector,
except the type.


vector p_beg = point(0, val, @ptnum);

float p_beg = point(0, val, @ptnum);

Many thanks for any help :-)

(Play the anim to see the morph)
Edited by matthias_k - Feb. 18, 2020 18:07:54

Attachments:
multiparam_blend_try_002.hip (136.5 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
  • Quick Links