I think it could be good to discuss separately the way of implementing conditional actions.
As Jean-François did write in one of the topics: The only thing I still see in my todo list is a simple way to compare object values without having to use LUA. But I'm still not sure what's the best way to do it, because if I just implement value comparison, one day somebody will ask if he can specify an offset, or want to add a multiplication factor to one of the values, or a combination of 3 values, or…. You know how good people can be at finding new needs. ;-)
My suggestion is to make it similarly to repeat list. Maybe the "repeat-list" could be abbreviated to "repeat">
To open discussion I would suggest some solutions:
1) if the code for conditions can be re-used for condition evaluation, than It would be possible to make it re-using the whole condition syntax excluding the timer, and trigger:
I think it could be good to discuss separately the way of implementing conditional actions.
As Jean-François did write in one of the topics:
The only thing I still see in my todo list is a simple way to compare object values without having to use LUA. But I'm still not sure what's the best way to do it, because if I just implement value comparison, one day somebody will ask if he can specify an offset, or want to add a multiplication factor to one of the values, or a combination of 3 values, or…. You know how good people can be at finding new needs. ;-)
My suggestion is to make it similarly to repeat list. Maybe the "repeat-list" could be abbreviated to "repeat">
To open discussion I would suggest some solutions:
1) if the code for conditions can be re-used for condition evaluation, than It would be possible to make it re-using the whole condition syntax excluding the timer, and trigger:
2) Another possibility is to add a separate tag <if> with condition attribute
3) another possiblity is to add specific <ifxxxx> tags:
Which might be easiest to implement.
4) fourth solution
Which might be quite similiar.
This is only an open brainstorming session.
Yours
Damago1
After some thoughts about it I have slightly better idea: