Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Saputo on April 09, 2013, 02:35:03 PM

Title: how do you set up triggers with a mouse?
Post by: Saputo on April 09, 2013, 02:35:03 PM
I was watching this Tut, Now how could I do this if the player brings there mouse to that area?

http://www.hutonggames.com/tutorials_game_design_with_playmaker.php
Title: Re: how do you set up triggers with a mouse?
Post by: Lane on April 09, 2013, 03:31:22 PM
Not sure which video you're pointing to, you just link to the page in general.

Mouse Pick action on every frame will fill whatever variables you choose constantly. You can read those variables or use them in other FSM's if you make them globals.
Title: Re: how do you set up triggers with a mouse?
Post by: Saputo on April 09, 2013, 04:53:13 PM
opps my bad, it's this one the Triggers video

http://www.youtube.com/watch?feature=player_embedded&v=BYwkd80T5Zk
Title: Re: how do you set up triggers with a mouse?
Post by: Lane on April 09, 2013, 05:52:11 PM
I'm not sure if it will work with the mesh renderer off but you can try Mouse Pick with a layer mask to catch the trigger only.
Title: Re: how do you set up triggers with a mouse?
Post by: Saputo on April 09, 2013, 07:01:51 PM
Well what I'm aiming to do is, if you move the mouse over a spot on the image text will pop up and say what it is and what it does.