playMaker

Author Topic: Click vs Drag / Mousedown ignore drag?[SOLVED]  (Read 875 times)

indeed

  • Junior Playmaker
  • **
  • Posts: 80
    • View Profile
Click vs Drag / Mousedown ignore drag?[SOLVED]
« on: January 15, 2016, 01: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.
« Last Edit: March 10, 2020, 12:08:41 AM by jeanfabre »

indeed

  • Junior Playmaker
  • **
  • Posts: 80
    • View Profile
Re: Click vs Drag / Mousedown ignore drag?
« Reply #1 on: January 23, 2016, 02: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.