Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Kothe on February 07, 2014, 03:46:29 PM

Title: Re: Generic message to event broker
Post by: Kothe on February 07, 2014, 03:46:29 PM
Hi.

I have seen that topic.
 Is there an example without using Ngui ?

 I´m just trying to get a trigger event with the  UFPS Advanced Player.

Thx
Title: Re: Generic message to event broker
Post by: jeanfabre on February 11, 2014, 12:40:43 PM
Hi,

1: add the PlaymakerMessageBroker component to your gameObject.
2: have your ufps component target this gameobject and as a message put "messageBroker". You have two signatures one without variables and one with string.

 If you have trouble, can you tell me what component of UFPS you are trying to send an event from ? I'll look it up.


Bye,

 Jean
Title: Re: Generic message to event broker
Post by: Kothe on February 11, 2014, 05:31:19 PM
I don´t understand it, and there is not much information about.

I need that when the UFPS Player  passes throuhg a cube that
is trigger, it can send a trigger event on a Playmaker FSM.

Thx
Title: Re: Generic message to event broker
Post by: jeanfabre on February 12, 2014, 03:54:48 AM
Hi,

 Can you be more precise as your set up. For example what event exactly are you trying to pass from UFPS system? and what  UFPS player component are you using?

 If you are looking at passing activity events, then some coding will be required, cause I don't think that currently it's possible to bind this without scripting. UFPS event system is very powerful but not flexible in terms of "no scripting" environment.

Also, are you aware of the playmaker support for UFPS?


https://hutonggames.fogbugz.com/default.asp?W1110

Maybe your case could be a good case for adding new actions to this package.

bye,

 Jean
Bye,

 Jean
Title: Re: Generic message to event broker
Post by: Kothe on February 12, 2014, 05:04:22 AM
I had seen these actions before.

I am using the advanced UFPS player. It has a no visible collider that turns
visible when playing.
Then, I have a scaled Y cube with a FSM with trigger event action
What need Is that when the UFPS advanced player pass through the cube fires the trigger event as a normal character controller but this one do not do nothing

Thx
Title: Re: Generic message to event broker
Post by: Kothe on February 12, 2014, 05:27:31 AM
Sorry...   :-X

Using the trigger event action does not work but there´s no problem using
the TRIGGER ENTER transition.
Title: Re: Generic message to event broker
Post by: jeanfabre on February 12, 2014, 06:45:34 AM
Hi,

 Ok. If TRIGGER ENTER works, then the action TriggerEvent shoudl work too, I guess there is some tag or setup in that action no properly define that make is not do what you expect, typically the tag entry.

bye,

 Jean