Hello everybody!
For example I have 5 sprites. All of them has Opacity = 0 by default. After event's triggers some of these sprites can get Opacity = 100 or lose it again to zero.
Next in final point of algorithm I ask to Pick Sprite where Sprite.Opacity = 100 and then compare Sprite.PickedCount with another variable.
It works OK if we have at least 1 such sprite. But if have no such sprites Sprite.PickedCount returns NOTHING. And I expect for 0 (or even null). And this is the problem.
I.e. when I try to know how many sprites was picked it does not trigger neither Sprite.PickedCount = var nor "empty" Else.
Also if we ask C2 to write Text -> Set text -> Sprite.PickedCount this action will not trigger (Text value stay permanent) as there is no events approaching.
Any ideas about this?
Of course I can loop For each Sprite and search for Sprite.Opacity = 0 and increase some variable by 1 when success. And if there is no such sprites this value will stay 0 by default.
But this decision is not so "beautiful" like the first.
P.S. I want to attach source file to this post. It's strange but I can't find where to do this.