playMaker

Author Topic: Send Message and Receive Event Script  (Read 1076 times)

kaelcabral

  • Playmaker Newbie
  • *
  • Posts: 25
    • View Profile
Send Message and Receive Event Script
« on: November 27, 2013, 11:48:17 PM »
Hey All!
I would like to know if I can receive a message com script to forward event on my fsm.
I have 2 events on my fsm "yes power" "no power"

playmaker:


script:

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13020
  • Official Playmaker Support
    • View Profile
Re: Send Message and Receive Event Script
« Reply #1 on: November 27, 2013, 11:52:28 PM »
Hi,

 using SendMessage action is the way to go, what's wrong there are you not getting called in your script at all? Maybe you don't target the right gameobject.

bye,

 Jean