playMaker

Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Are there any errors in the console? They don't have to be related to Playmaker to stop other scripts from compiling.
52
PlayMaker Help / Global Variables Gone After Updating Playmaker [SOLVED]
« Last post by Graham on March 29, 2024, 02:48:54 PM »
After updating my project from Playmaker 1.9.4.f2 to 1.9.8.f1 my global variables are gone.

It's under Assets\Plugins\PlayMaker\Resources and the asset says "The Associate script can not be loaded."

I've tried assigning the proper mono script to it, but still no luck.
53
PlayMaker Help / Re: How to change Photon AppID in PC Build
« Last post by gregacuna on March 29, 2024, 08:54:43 AM »
Hey all...I didn't find out how to do this, but I was able to find an old SVN repository with the project so won't be trying to change the AppID in the build. Still think that knowledge might be helpful to someone if anyone knows the answer.
54
PlayMaker Help / Re: Why my Global Evnets Transition has no target states
« Last post by djaydino on March 29, 2024, 07:58:34 AM »
hi.
this is an older video for transitions and events but should get you in the right direction :

55
PlayMaker Help / Why my Global Evnets Transition has no target states
« Last post by ViZAlice on March 29, 2024, 05:44:02 AM »
i am stuck at global event and global transition.
The pickEvent will be trigered when I press E , and I want this event received in another FSM. I am already set the state which receives pickEvent, but there is still a Error.

here is my FSMs shortcuts


56
Update: I know there's actions for Rewired, but I'm asking specifically the part of passing interfaces, because I'm planning to pass others to actions in the future.

Thank you so much in advance.

Best Regards,
Eduardo
57
PlayMaker Help / Serialize interface into Playmaker Action is not working
« Last post by BagarraoEduardo on March 29, 2024, 05:17:56 AM »
Hello,

I have this action:

Code: [Select]
using System;
using LonelyJane.Services;
using LonelyJane.Services.Interfaces;
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using UnityEngine;

namespace HutongGames.PlayMaker.Actions
{

[ShowOdinSerializedPropertiesInInspector]
public class InputMovementCallbackData : MonoBehaviour, ISerializationCallbackReceiver, ISupportsPrefabSerialization
{
[SerializeField, HideInInspector]
private SerializationData serializationData;

[OdinSerialize]
public IRewiredService RewiredService;

        public SerializationData SerializationData { get => serializationData; set => serializationData = value; }

        public void OnAfterDeserialize()
        {
UnitySerializationUtility.DeserializeUnityObject(this, ref serializationData);
        }

        public void OnBeforeSerialize()
        {
            UnitySerializationUtility.SerializeUnityObject(this, ref serializationData);
        }
    }

[ActionCategory(ActionCategory.Input)]
[Tooltip("Detects if the player is moving or not, calling an event according to it.")]
public class InputMovementCallback : FsmStateAction
{
public InputMovementCallbackData Data;

// Code that runs on entering the state.
public override void OnEnter()
{
Finish();
}


}

}

This, together with Odin Inspector, makes possible we pass interfaces on the Inspector. However, it appears it doesn't work in Playmaker(first attachment, called "Interface").

However, if change to the class instead of the interface, it works(second attachment, called "Class":

Code: [Select]
using System;
using LonelyJane.Services;
using LonelyJane.Services.Interfaces;
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using UnityEngine;

namespace HutongGames.PlayMaker.Actions
{

[Serializable]
public class InputMovementCallbackData
{
public RewiredService RewiredService;
    }

[ActionCategory(ActionCategory.Input)]
[Tooltip("Detects if the player is moving or not, calling an event according to it.")]
public class InputMovementCallback : FsmStateAction
{
public InputMovementCallbackData Data;

// Code that runs on entering the state.
public override void OnEnter()
{
Finish();
}


}

}

There's any way or workaround to pass an interface instead of the class itself? 

Thank you so much in advance.

Best Regards,
Eduardo Bagarrão
58
PlayMaker Help / Upgrade project from Unity 2023.1.20f1 to 2023.2.* empty FSMs
« Last post by Intentor on March 28, 2024, 11:13:45 PM »
Hello! I'm trying to upgrade a project from Unity 2023.1.20f1 with PlayMaker 1.9.8 to Unity 2023.2.15f1, however, after the upgrade, all FSM scripts are not found, including template assets, despite no errors or warnings related to PlayMaker being displayed in the console.

Is this a known bug or is there something I may be doing wrong?

Thank you very much!
59
PlayMaker Help / Re: PlayMaker + Emerald Ai 2024
« Last post by Theran on March 28, 2024, 10:41:54 PM »
Hey, everybody!
Has anyone tried the Emerald Ai 2024 asset with PlayMaker?
I've been trying to link the two for some time now. I have a character controller made on PlayMaker and enemies controlled by Emerald Ai 2024. I can't figure out how to make the FSM so that the enemies take damage from my character controller. And to have my character take damage from Emerald Ai enemies.
Maybe someone has done the interaction and can suggest a solution?

I have emerald but havent gotten around to playing with it. Without diving deeper in.. first thing that comes to mind is have you verified that layers are correct on both the character and the enemy?
60
PlayMaker Help / Re: Movement back and forth with unity and playmaker
« Last post by Theran on March 28, 2024, 10:39:03 PM »
If you are still checking this, explain exactly what you want to do. There are various commands to move an object. If you want to move a "character" there are even more options... Need more to go on to be able to offer suggestions.
Pages: 1 ... 4 5 [6] 7 8 ... 10