simple problem about game score
Hello guys, newcomer here
So i watched gshelper's video about choosing random attribute without repeat .
In my case, i want generate random pic and manage to do that. But im struggling to make the pic to change game score when it appear instantly (without clicking the pic). I watched other videos but it make me more confuse since each video use different attribute and name..yes im a bit slowpoke..
Can someone tell me the next step to do after the last step in the video?
i tried create an actor (with below rule) to trigger this but its not working
rule: if game.randomimage = specificimagename , do change game.score to game.score+2
The game.score does not affected although when image which supposedly to give points appear randomly..
is this bug or my coding simply wrong?