Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - joduffy

Pages: [1] 2 3 ... 8
Playmaker Help / Re: Send Message Array Parameter Missing
« on: June 15, 2016, 09:21:46 PM »
Hi Dude,

I had a look over it.
I had the same problem.

I was debugging what could the problem be and I narrowed it down.

The problem is not the Switch statement:
Code: [Select]
switch (functionCall.ParameterType)
case "None":


                                case "Array":
                                        parameter = functionCall.ArrayParameter.Values;

The problem has to do with the parameter variable.

Code: [Select]
public FunctionCall functionCall;

If you have a background in coding, you can test this by create a playmaker custom action and using the above variable. You will see that the array is not listed at all.

It looks like its a playmaker bug. I would send the playmaker guys (Jean or Alex) a message or do a bug report.

A possible worked around would be to create a custom send message action but only for arrays. So you would use the FsmArray variable over the FunctionCall one. This in theory should work (but won't know till its tried).

If you need a hand writing the custom action let me know and I will try to help.

Playmaker Help / Re: Installing Photon Help
« on: June 15, 2016, 08:53:10 PM »
Hi Dude,

Sorry to hear about all the trouble you have been having.
I know how frustrating it can be when something isn't working.

I created a blank scene with the latest playmaker version.
I did try and use the ecosystem but couldn't get it. I was getting the parsing error that you got.

But I did manage to get it working.

Try this link:

Its the first package from playmaker website:

Let me know how you go. Try using it in your empty project first so that it's easy to fix if you have any errors.

Playmaker Help / Re: Drag Object
« on: May 23, 2016, 04:11:35 PM »
Whats happening has to do with going from screen co-ordinates that the mouse uses, to world co-ordinates that gameobjects use.

If you install the ecosystem browser, you can do a search for follow mouse action. That should hopefully solve your problem :)

Playmaker Help / Re: Making text disappear when clicked?
« on: May 23, 2016, 01:45:37 AM »
Hi Dude,

The action you need is the

U GUI Canvas Group Set Alpha

You then create an Fsm that loops and reduces the float for the alpha amount over time to cause it to fade. If it confusing let me know and I will look into creating an Fsm for you.

If you want to turn the text off without a fade. You can use:

Activate Game Object

Playmaker Help / Re: Playmaker With Other Scripts
« on: May 22, 2016, 10:50:21 PM »
Anytime dude  :)
Glad I could help.

Let me know how you go with it.

Playmaker Help / Re: Playmaker With Other Scripts
« on: May 22, 2016, 09:45:25 PM »
Hey dude,

I made you a video. You can find it here:

Hopefully it helps you out. You can also look at how Playmakers GUI proxy is setup. It shows how to go from a system into a playmaker friendly one. Might be helpful for your VR stuff.

Glad it worked and that I could help you out.

Good luck with the rest of the project dude.


So what is happening is that the script is using String over FsmString. So what you need to do is just replace it.

So String Text becomes FsmString Text.
Then anywhere you see Text, it now becomes Text.Value

I tried to update the script so that is uses FSM's variables. I can't test it but in theory it should work. The only thing that might cause an error, is if the the of the code tries to use the variables directly and is expecting them in non-Fsm form.

But try it and let me know how it goes.

Code: [Select]
using UnityEngine;
using System.Collections;
using Crosstales.RTVoice;

namespace HutongGames.PlayMaker.Actions {
   public class Speak : SpeakBase {

      public bool reset;

      [Tooltip("Text to speak.")]
      public FsmString Text;

      [Tooltip("Culture for of the voice (default: empty).")]
      public FsmString Culture = "en";

      [Tooltip("Index of the voice from the Speaker.VoicesForCulture()-call.")]
      public FsmInt Voice;

      public override void OnEnter() {
//         if (GameObject.Find("RTVoice") == null) {
//            AddRTVoice();
//         }

         switch (Mode) {
            case SpeakMode.Speak:
               Speaker.Speak(Text.Value, AudioSource, Speaker.VoiceForCulture(Culture.Value, Voice.Value), true, Rate, Volume);
            case SpeakMode.SpeakNative:
               Speaker.SpeakNative(Text.Value, Speaker.VoiceForCulture(Culture.Value, Voice.Value), Rate, Volume);
// Copyright 2016

Playmaker Help / Re: Playmaker With Other Scripts
« on: May 22, 2016, 05:26:09 PM »
Depends on how your code is setup. But I create actions for all my code.
I just find it helps streamline everything.

But if you wanted to transition a playmaker state from code, you would need to send the FSM and event.

So you would create some custom events on your states. Then from your code, you would send those events to the FSM, which would trigger the states to move from one to the other.

This video should show you how to do what your after:

Playmaker Help / Re: Playmaker With Other Scripts
« on: May 22, 2016, 05:09:58 PM »
Hey dude,

With your VR controller, you could create custom playmaker actions which send an event when the object is grabbed or being used.

The send event option is what you are after.

Do you have a copy of the code you are trying to turn into an action?

Hi Dude,

Can you right click on the action and go edit script. Then post whats inside it.
I think it should be easy enough to edit so that you can use string fsm variables. Just need to see how its setup.

Playmaker Help / Re: TextMesh Pro not working with iTween
« on: May 15, 2016, 02:48:44 PM »
Anytime dude.

Glad I could help  :)

Playmaker Help / Re: TextMesh Pro not working with iTween
« on: May 15, 2016, 04:49:53 AM »
djaydino is right about picking another tweening package. Especially for ios games as itween has a system that uses hashtables that causes lag. I have only used leantween and not the others ones. But, getting back on track.

You can get playmaker action browser here, which is called ecosystem:

Its pretty cool as you can search for actions to expand playmaker functionality. You can also directly get the ugui stuff here:

I would recommend using the ecosystem though to get the ugui actions as having the ecosystem setup opens up options for you - in terms of actions you can access and download.

UGUI is unity built in system so all you need is the package.

Playmaker Help / Re: TextMesh Pro not working with iTween
« on: May 14, 2016, 09:31:59 PM »
This is where you can find the events for uGUI for playmaker.

Playmaker Help / Re: TextMesh Pro not working with iTween
« on: May 14, 2016, 09:24:41 PM »
Anytime Dude. Here to help.

Are you using the uGUI proxy stuff for playmaker? So there is an addon you need to get?

The events should be uGUI/OnClick

I don't think you can use the mouse down events. You have to use the uGUI custom events for it to work.

I highlighted the stuff in red you need.

Pages: [1] 2 3 ... 8