Good Morning,
Apologies for the confusion, but I'm just starting to grasp igigiton. I have a basic question: I'm aiming to achieve the following logic — if (A) is True, then set B to 10.
Have B set to a expression and A set to a bool.
If anyone can point me in the right direction that would be extremely helpful.
Thanks,
zacht
March 15, 2024, 4:20pm
2
You can't perform assignment in an expression with an equal sign.
Assuming {[.]A}
is the correct path to A
, I expect your expression should be
if({[.]A},10,0)
Since this expression is the value source of B
, the result of the expression will be applied to B
automatically.
2 Likes
You cannot assign a value like that. Expressions only return a value that gets applied to the tag the expression is in (in your case, B).
Try:
if({[.]A}, 10, 0)
EDIT: @zacht beat me to it.
1 Like
Thank you very much. That clears it up.