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.
Pages : 1
Is it somehow possible to define an interaction of one group-with-another-group, instead of an object_with_object.
Dernière modification par spook1 (20-10-2018 11:07:43)
Hors ligne
Hello again !!
Group with group combination interactions are not yet supported by JAWA but it's an interesting ferature request that I'll add to my roadmap (at least object with group, group with group will be more tricky)
But without that you can simplify your interactions anyway using an object with "any object" interaction triggers and then use the conditions to select the ids of the second group objets, with the system variable with
Trigger : combine an object with another
object 1 : an object the first group
object 2 : "any object"
conditions :
_combined_with=group2_object1_id
_or_
_combined_with=group2_object2_id
_or_
...
(you can also use < > conditions if the objects id of group 2 are consecutives)
So you'll have to create only one interaction per object of the first group.
Hope it's clear !
Z
Hello
A more elegant way to do so : I added a new interface (system) variable that allow to test easily if an object is in a specific group :
_COMBINED_GROUP returns the group ID of the target object in a combination interaction
To be a bit more clear, this will simplify the conditions in my previuos example :
Trigger : combine an object with another
object 1 : an object the first group
object 2 : "any object"
conditions :
[b] _combined_group[/b]=[i]object's group 2 id[/i]
Z
Pages : 1