playMaker

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 - jrDev

Pages: [1] 2 3 4
1
PlayMaker Help / Re: pun 2 OnPhotonInstantiate Event?[SOLVED]
« on: November 07, 2019, 09:23:05 AM »
Hello,

Late response but thanks for adding!

Thanks,
jrDev

2
PlayMaker Help / Deleting Actions In State
« on: November 07, 2019, 09:15:59 AM »
Hello,

Is there a way to delete all actions that are disabled in a state? Doing them one by one is time consuming but I only see the Delete All Actions button. Is there a Delete All Disabled Actions button?

Thanks,
jrDev

3
PlayMaker Help / PUN actions naming conventions.
« on: October 31, 2019, 08:09:42 AM »
Hello,

This is primarily directed and @jeanfabre. What I want to know if the naming convention of the PUN Actions with the script name using "Pun" and the action name using "PhotonNetwork" was intentional. Eg PunGetPlayerProperties.cs and "public class PhotonNetworkGetPlayerProperties : FsmStateAction" using these names. It seems rather weird that this would be intentional since you can't "Find" or "Edit" script because the names are different and Unity will throw an error. Please look into this and fix with update to Ecosystem.

Thanks,
jrDev

4
PlayMaker Help / Re: UI Click Event Bug?
« on: October 31, 2019, 08:05:40 AM »
Hi,

 PlaymakerUIClickEvent is added under the hood to catch the unity events and dispatch them inside the Fsm so that you can get the system events to work.

it's odd though, cause I can't reproduce this...

are you working on a prefab?
what version of Unity and playmaker are you on?

Bye,

 Jean
Hello,

I am using Prefabs and I just updated to new versions of Unity and Playmaker so I need to retest to see if this is still an issue.

Also, what you are saying is that the UIClickEvent script should automatically be added to gameobject that I add the UI Click event to?

Thanks,
jrDev

5
PlayMaker Help / Re: UI Click Event Bug?
« on: October 29, 2019, 07:40:50 PM »
Hi,

just so that I understand, you have copied the fsm component using the Unity inspector right click menu right?

Bye,

 Jean
Hello,

Yes I copied using the Unity component copier from inspector.

On another note, when does the PlaymakerUIClickEvent.cs script get added to button object. Does playmaker do this itself cause I can't remember if I manually added this. Also no tutorials mention this script.

Thanks,
jrDev

6
PlayMaker Help / Re: UI Click Event Bug?
« on: October 27, 2019, 11:17:58 AM »
Hello again,

I think I have narrowed down the issue. It seems that I had to reset the PlaymakerUIClickEvent.cs component on each button and reassign them back to their respective "Target FSMs" and "Button" objects to get them to work.

Hopefully @jeanfabre can chime in to see if this can be replicated? Or maybe just a weird one off bug?

Thanks,
jrDev

7
Work In Progress... / Re: Dark Light
« on: October 25, 2019, 10:15:47 AM »
Hello,

Very impressed!

Thanks,
jrDev

8
PlayMaker Help / Re: UI Click Event Bug?
« on: October 25, 2019, 10:11:01 AM »
Hello,

Another test reveals that Templates do not work with UI Click event.

Thanks,
jrDev

9
PlayMaker Help / Re: UI Click Event Bug?
« on: October 25, 2019, 09:58:30 AM »
It seems that I had to create a new FSM and add the UI Click event to get it work. Don't know why copying values over doesn't just work. I will do some more testing to confirm.

Thanks,
jrDev

10
PlayMaker Help / UI Click Event Bug?
« on: October 25, 2019, 08:15:01 AM »
Hello,

After I copied the component values of one button's FSM component to another button's FSM component, it doesn't seem to work. Why is this?

Thanks,
jrDev

11
PlayMaker Help / Re: PUN GetPlayerProperties Variables are null in Build
« on: September 19, 2019, 05:46:26 PM »
Nevermind,

See post in Photon Forum thread.

Thanks,
jrDev

13
PlayMaker Help / Re: OnPhotonInstantiate Event?
« on: September 09, 2019, 08:14:41 PM »
Bump!

14
PlayMaker Help / pun 2 OnPhotonInstantiate Event?[SOLVED]
« on: August 28, 2019, 07:07:31 AM »
Hello,

I am using PUN2 and I can't find he OnPhotonInstantiate event to use. Am I supposed to create one myself since I thought the Proxy has them already?

Thanks,
jrDev

15
PlayMaker Bug Reporting / Re: Photon Simple Connection error
« on: August 22, 2019, 07:42:44 PM »
Hello,

I have also solved this by changing the line 193 Foreach into just a for loop.

FROM
Code: [Select]
int i = 0;
foreach (Component _comp in _photonView.ObservedComponents)
{

if (_comp is PlayMakerFSM)
        {
                PlayMakerFSM fsm = (PlayMakerFSM)_comp;
                PlayMakerPhotonView synchProxy = _photonView.gameObject.AddComponent<PlayMakerPhotonView>();
                Debug.Log("switching observed <"+ i +">");
                synchProxy.observed = fsm;

                _photonView.ObservedComponents[i] = synchProxy;
                       
        }

        i++;
}

TO

Code: [Select]
for(int i = 0; i < _photonView.ObservedComponents.Count; i++)
{
Component _comp = _photonView.ObservedComponents[i];

if (_comp is PlayMakerFSM)
        {
                PlayMakerFSM fsm = (PlayMakerFSM)_comp;
                PlayMakerPhotonView synchProxy = _photonView.gameObject.AddComponent<PlayMakerPhotonView>();
                Debug.Log("switching observed <"+ i +">");
                synchProxy.observed = fsm;

                _photonView.ObservedComponents[i] = synchProxy;
                       
        }

}

Jean if you can take a look at this and fix it officially it would be great!

Thanks,
jrDev

Pages: [1] 2 3 4