Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mmzbr on October 11, 2012, 12:23:57 PM

Title: Help with a basic logic[SOLVED]
Post by: mmzbr on October 11, 2012, 12:23:57 PM
First of all, i´m a noob with Playmaker and Unity so probably its a basic problem with a basic solution for you guys  :P
My coding skills is zero. I' ve using Gamesalad for 2D Mobile Games and now I want to start produce some 3D games.

I just want to create a logic for this:

When get an object (key), allow an opening animation to the door. If you don't have the key, the animation do not play.

I´ve checked the video tutorials but didnt get it( the events concept)

In Gamesalad the logic for this is, when you get the key, set a global boolean variable to 1 and save this. On the door there´s a controller that trigger the animation to the door if global variable is 1, otherwise: do nothing. The logic for Playmaker is the same or not?

Sorry my English (isn't my primary language) and thanks in advance for any help.

Title: Re: Help with a basic logic
Post by: mmzbr on October 11, 2012, 12:47:21 PM
I got this, now I understood the event concept and how interact with them between objects using a listener.
Title: Re: Help with a basic logic
Post by: Dev_Sebas on October 11, 2012, 01:38:54 PM
Glad that you found the solution.
If you need more help say it.
Bye