You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a primitive which takes in an int parameter x and an Element parameter y. Is there a way to create a post condition check that a property of y equals the value of x? From what I can tell, ConditionProperty only works to compare properties to hardcoded values but I wanted to check if I was missing something or if there was a workaround.
The text was updated successfully, but these errors were encountered:
Good question. Unfortunately this is currently not possible, but it would be a good thing to add.
The workaround that is definitely possible is to either incorporate this comparison inside the execute function of the existing primitive or to write a dedicated primitive skills that checks this.
What I ended up doing was just adding another condition class that was essentially the same as ConditionProperty but uses a param_name instead of value.
If I have a primitive which takes in an int parameter
x
and an Element parametery
. Is there a way to create a post condition check that a property ofy
equals the value ofx
? From what I can tell, ConditionProperty only works to compare properties to hardcoded values but I wanted to check if I was missing something or if there was a workaround.The text was updated successfully, but these errors were encountered: