Combining Color with if-command


Author
Message
RicardaVictoria
RicardaVictoria
Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)
Group: Forum Members
Posts: 2, Visits: 11
Hello,

in my Study participants choose an avatar and are consequently assigned to a certain group. There are four differently colored avatars from which they can chose.
Afterwards participants play a virtual ball tossing game. 

I want to pigment the name of the players in the ball tossing game in the same color as the avatar, which participants have chosen before. These colors are different for the participants as I have several different conditions. 

I think I have to combine the color with the if-command from the avatars which looks like this: [if (trial.selectavatarEG.response=="target1") values.youravatar=1]

However I can't find a way to combine the color in one block with an if statement from another block.
Do you have any suggestions?

I would really look forward to get some advice from you!
Best regards
Ricarda Victoria






GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search