Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ingumak on August 15, 2017, 06:17:11 AM

Title: Clickable object[SOLVED]
Post by: ingumak on August 15, 2017, 06:17:11 AM
Hi! I´m here again with a very simple question I think.
I want to do a clickable game object. And then, send an event.
I have watched some tutorials and I think that I have to use "mouse pick event" for this.
I understand that is as simple as put the action and select in "mouse down" what event I want to send. In Ray distance I put 100 because the object is near from de camera. And in game object "Use owner" (because is the same object that I´m clicking. And finally in the end I active "everyframe".
Have I to do another step or action to send the event?
I am asking this because I wnat to be sure that this action works by this way and check where is my error. Maybe the problem is in other place.
Thanks!
Title: Re: Clickable object
Post by: ingumak on August 15, 2017, 08:21:38 AM
Ok, I think I have solved it. It´s working fine. But I don´t know if this is de best way. Finally I have used global events (mouse down) to do this into de same object. But I´m not sure this method will be consecuences in the future.
Someone can said me if is a good way? Thanks!!

Title: Re: Clickable object
Post by: tcmeric on August 15, 2017, 08:35:10 PM
Hi, I have a tutorial that covers this. You can find it here on youtube:
Shows the basic way to have a clickable object (and some navmesh stuff in the second half, but you can ignore that part if you want).
Title: Re: Clickable object[SOLVED]
Post by: ingumak on August 26, 2017, 01:05:52 AM
Thanks!! Yes I had solved with your tutorial :D.