Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: GothicGhost on September 15, 2014, 11:21:11 AM

Title: How can you make simple random click actions?
Post by: GothicGhost on September 15, 2014, 11:21:11 AM
Hello all.

Been trying to make something simple to start with but turns out for me it's not lol.

Trying to make a box game and when click on it, it will be random if the box goes green or red if red then it explodes :D

But can't see to find out how to tell playmaker that green and red mean something and I need to give them an action.

Thank for any help you can give me, I took a screen shot if it's any help.
http://s2.postimg.org/asp5dv049/image.jpg
How can you make simple random actions
Thanks.
Title: Re: How can you make simple random click actions?
Post by: Lane on September 15, 2014, 02:20:27 PM
Try the Material Compare action.

Can't remember if its stock or not, if it isnt in the list then its downloadable from the forum or ecosystem.
Title: Re: How can you make simple random click actions?
Post by: GothicGhost on September 15, 2014, 06:38:49 PM
Thank you I will give that a try.
Title: Re: How can you make simple random click actions?
Post by: Neoisrael on September 16, 2014, 05:40:47 AM
u can try string compare of with what ever is changing when it changes color ? is it a game object? a name ? the color ? btw u can compare a color :)
good luck