Vous n'êtes pas identifié(e). Pour pouvoir écrire ou répondre à un message, vous devez vous connecter ou vous créer un compte sur JAWA.

#1 04-01-2019 13:44:31

spook1
Membre
Inscription : 12-02-2018

How to use: CONDITION _custom1_1 = {{_custom1_2}} ✓

I created an elastic object ( card1.1., to be cloned later) with custom1=1
I created a click-zone (in a group rubric-zone) with custom1=1

I set an Interaction for the object: Combine an object with  / object = card1.1 /object2 [GROUP] rubric_zones

I KNOW THAT OBJECT PROPERTIES CAN ONLY BE USED IN lEFT SIDE OF CONDITIONS


In my object I define:

Highest priority 2:

When dragged or rotated:

Effect:

variable:RUBRIC_CARD_ID:{{_custom1_1}}


Lower priority : 1
When Combined

Condition:

_custom1_2=RUBRIC_CARD_ID


Effect:

updateobject:1:visible:0

When I do combine the objects, nothing happens.
Am I doing something wrong?

Dernière modification par spook1 (05-01-2019 15:33:45)

Hors ligne

#2 05-01-2019 18:19:42

jawa
Admin

Re : How to use: CONDITION _custom1_1 = {{_custom1_2}} ✓

Hello
both syntax _custom1_1 = {{_custom1_2}}
and
{{_custom1_1}} = {{_custom1_2}}
are correct and should work
I'll look at that.
Z

#3 06-01-2019 17:59:46

spook1
Membre
Inscription : 12-02-2018

Re : How to use: CONDITION _custom1_1 = {{_custom1_2}} ✓

Great! Thanks. it works like a charm now :-)

Hors ligne

Pied de page des forums