Hello,
I want to do the following:
if((a==2&& b==3)||(c==4&&d==5))
{
//execute something
}
Is there a way to have a single event for this in construct 2?
and not like:
if a=2 and b=3 do something
and a second event if c=4 and d=5 do the same thing
Compare two values:
(a=2 & b=3) | (c=4 & d=5)
Equal to
1
Well my real game is not a=2 but something like if object 1 on drop && variable 1=2 or c=4 and d=5
Develop games in your browser. Powerful, performant & highly capable.
You can't do that with a trigger. Just do them separately and call a function to do the "something".
yes this is a solution, but I need to pick up the object that is being dropped inside the function call
Pass the UID and pick it again.