Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: indeed on January 15, 2016, 03:36:25 PM

Title: Click vs Drag / Mousedown ignore drag?[SOLVED]
Post by: indeed on January 15, 2016, 03:36:25 PM
Hello, I am looking for your advice/best practices about the best way to have the mousedown system event ignore drag.

Jean made a nice FSM here that does it: http://hutonggames.com/playmakerforum/index.php?topic=4029.0

but I don't understand the simplest way to apply this to every instance of a mousedown event (this needs to happen all the time vs a unique event). I wouldn't want to add all these nodes to every instance in a level that a user might click.

Ideally there would just be a version of the mousedown system event that ignored Drag.
Title: Re: Click vs Drag / Mousedown ignore drag?
Post by: indeed on January 23, 2016, 04:49:16 PM
Hi, got this working! I just didn't understand the basics of sending "Events" within FSMs and how Jean's FSM *does* add a transition to the Custom and Global Events list that can easily be called anywhere.