Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: MediaGiant on March 17, 2013, 12:32:12 PM
-
I'm using the Mouse Pick action to select between objects (dynamically created) in the world. Mouse Pick stores the game object selected in a global variable called currentObject. I then added a Bool Test to jump to a new state where I would like to perform a Set Material action on the selected object. The problem is when I click on Specify Game Object the global variable is not available. Perhaps this is the wrong approach so I'd welcome any ideas.
-
Try this (attached scene) Import into existing project with PlayMaker and open the scene.
-
Hi Lane, from looking at your example I noticed that you had selected that odd little button just under Specify Game Object that says Use Variable, DOH! I was expecting it to be in the drop down list automatically, but I'm glad that is solved. You're a champ. Thanks.