Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Flynn777 on May 29, 2023, 09:42:55 AM

Title: Playmaker and Events activation
Post by: Flynn777 on May 29, 2023, 09:42:55 AM
Greetings everyone,

I'm using Playmaker in Unity and I want to show an icon when the player is near an object called "ATM_Blue" and then he can press the "spacebutton" in order to activate an event.

How can I achieve it?
Title: Re: Playmaker and Events activation
Post by: djaydino on May 30, 2023, 02:15:39 PM
Hi.
A way to do this is :

Set a trigger and use trigger event
if player inside the trigger, listen to the space bar (Get key down)

its best to look to some basic PM tutorials to get familiar with playmaker :)
Title: Re: Playmaker and Events activation
Post by: Flynn777 on June 04, 2023, 05:16:41 AM
Yes, of course.

I'm still learning and in the last days I figured out a solution that works with
collider event.
I'm also working with UI and after the trigger event (or at least after a few
seconds) I want that the text that is displayed, disappear.
I tried with "wait" and "activate game object (not active)" but still seems to not work.

(http://file:///E:/GAMESPROJECTS/INSPIRATION/Captures/GameStorming%20-%20ProjectAdventure23%20-%20Windows,%20Mac,%20Linux%20-%20Unity%202021.3.19f1%20Personal_%20_DX11_%2004_06_2023%2011_11_54.png)

What can I do?
Title: Re: Playmaker and Events activation
Post by: Flynn777 on June 04, 2023, 05:24:08 AM
Hi.
A way to do this is :

Set a trigger and use trigger event
if player inside the trigger, listen to the space bar (Get key down)

its best to look to some basic PM tutorials to get familiar with playmaker :)

https://drive.google.com/file/d/1sbzimk_m6MpQfKzA1x0K2slIns6oM71W/view?usp=sharing (https://drive.google.com/file/d/1sbzimk_m6MpQfKzA1x0K2slIns6oM71W/view?usp=sharing)

you can find the screen here, maybe it helps