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.


Topics - blackant

Pages: [1] 2 3 ... 10
1
Share New Actions / Playmaker Action for TileWorld Creator
« on: August 28, 2018, 01:16:46 PM »
Just because this tool is one of my favorite to create procedural levels on the fly, and also because i'm using it in my own project,

i did a serie of actions which allows you to control the awesome plugin and the are now available on the asset store !


2
Playmaker Help / Argument exception : need help [SOLVED]
« on: August 27, 2018, 06:22:16 AM »
Hello,

i have been working on my Post processing actions, which where working nice before this little update...

i replaced my first variables  to get the PostProcessing Profile and Volume by an FSMOwner

The code is absolutely perfect and doesn't give error.

But when i enter the game, it returns me this error:

ArgumentException: GetComponent requires that the requested component 'PostProcessProfile' derives from MonoBehaviour or Component or is an interface.
UnityEngine.GameObject.GetComponent[PostProcessProfile] () (at C:/buildslave/unity/build/Runtime/Export/GameObject.bindings.cs:28)
HutongGames.PlayMaker.Actions.PostProcessingDepthOfField.SetDoF () (at Assets/PlayMaker/Actions/Post Processing/PostProcessingDepthOfField.cs:95)
HutongGames.PlayMaker.Actions.PostProcessingDepthOfField.OnEnter () (at Assets/PlayMaker/Actions/Post Processing/PostProcessingDepthOfField.cs:76)
HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState.OnEnter () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm.UpdateStateChanges () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
PlayMakerFSM.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:548)

here is the parts of code for my action:

Code: [Select]
[ActionCategory("Post Processing Stack V2")]
[Tooltip("Modify Depth of Field during runtime.")]
public class PostProcessingDepthOfField : FsmStateAction
{
#region public variables
[RequiredField]
[ObjectType(typeof(PostProcessVolume))]
[Tooltip("Post Processing Profile to modify")]
public FsmOwnerDefault ObjectVolume;

[RequiredField]
[ObjectType(typeof(PostProcessProfile))]
[Tooltip("Post Processing Profile to modify")]
public FsmOwnerDefault ObjectProfile;

...
                if(ObjectVolume !=null)
{
var go = Fsm.GetOwnerDefaultTarget(ObjectVolume);
var UsedVolume = go.GetComponent<PostProcessVolume>();
var UsedProfile = go.GetComponent<PostProcessProfile>();
UsedVolume.profile.TryGetSettings(out DofLayer);

so i tryed to replace FsmStateAction by Monobehaviour, and got some changes to make around void, and finally got stuck with another error message on the Fsm.GetOwnerDefaultTarget();

An object reference is required for the non-static field, method, or property 'Fsm.GetOwnerDefaultTarget(FsmOwnerDefault)'


3
Feature Requests / +- Sign in actions
« on: August 24, 2018, 05:32:21 AM »
i have take a screenshot to be clear,
while reading me actions steps sometimes i'm a bit confuse about what i read on the IntAdd Action, just because au sign + or - is missing between my variable's name and the value to Add


4
Playmaker Bug Reporting / Global Variables Categories bug
« on: August 23, 2018, 03:03:28 AM »
Hello,

a small bug i encountered today while iw as cleanning my project, adding ToolTips and categories to my variables, suddenly, the inputs were not correct like on this screen, only for one variable

5
Playmaker Help / NullReferenceException[SOLVED]
« on: August 09, 2018, 11:10:17 AM »
Hello,

I'm trying to create an action that check if a file exist and send EVent from the result.

the thing is that if the file doesn't exist, i don't get any problem and the event is called correctly.

but after that, once the file exists, it can't go further because i miss something, resulting of the error message


Code: [Select]
NullReferenceException: Object reference not set to an instance of an object
TileWorld.TileWorldCreatorSaveLoad.Load (System.String _path, TileWorld.TileWorldCreator _creator) (at Assets/TileWorldCreator/_Core/Utility/TileWorldCreatorSaveLoad.cs:125)
HutongGames.PlayMaker.Actions.TileWorldLoadMap.OnEnter () (at Assets/PlayMaker/Actions/TileWorldCreation/TileWorldLoadMap.cs:32)
HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState.OnEnter () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm.UpdateStateChanges () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
PlayMakerFSM.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:548)

here is my code
Code: [Select]
public override void OnEnter()
{
var Path = "Assets/Ressources/Saves/"+ MapName.Value +".xml";
var _File = File.Exists(Path);


if(_File)
{
TileWorldCreatorSaveLoad.Load(Path,creator);
creator.GetMapSeed();
Fsm.Event(ifFileFund);
}

Fsm.Event(IfNoFile);


}

6
Playmaker Help / why 2 customs action doesn't return similar [Solved]
« on: August 08, 2018, 01:31:59 AM »
hello,

this is something i really can't get,

i created a custom action, and added

using UnityEngine;
using TileWorld;
using TileWorld.Events;

in the first script it works perfectly,
in the second one, the type or namespace nae 'Tileworld' could not be found....


7
Playmaker Help / How to convert type 'system.Enum ' to
« on: August 07, 2018, 03:10:24 PM »
Hello,

i have this little problem:

i want to get Enum choice to set it into the script:

here is a little portion of code from it
Code: [Select]
   [System.Serializable]
        public class GlobalConfiguration
        {
            // Global config
            public string worldName;

            public enum MapOrientations
            {
                xz,
                xy
            }

            public MapOrientations mapOrientation;


my code
Code: [Select]
[ObjectType(typeof(TileWorldConfiguration.GlobalConfiguration.MapOrientations))]
public FsmEnum MapOrientation;
configuration.global.mapOrientation = MapOrientation.Value;

my error:
Cannot implicitly convert type 'system.Enum' to Blablabla.MapOrientations'
An Explicit conversion exists (are you missing a cast? yes certainly...)


what is the magic formule for this conversion ?

8
Playmaker Bug Reporting / Stack Overflow
« on: August 04, 2018, 04:54:05 AM »
Hello,

i have a bug , the first time i see this and i'll explain how it happens:

i'm on Unity 2018.2.2f1, fresh install

opening my project on modify it, then i would like to delete an event to replace it by Finished, so
right clic on this event, and don't get the popup window but the bug instead.
if i do a second right clic, it'll crash unity.

but right clicking on the action works normally and editing rest looks fine.

Code: [Select]
StackOverflowException: The requested operation caused a stack overflow.
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (System.Object obj, System.String eventName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:540)
HutongGames.PlayMakerEditor.FsmInfo.FindEventUsage (Syste<message truncated>

9
Playmaker Help / Cinemachine multiplayer camera problem [SOLVED]
« on: August 03, 2018, 02:52:42 AM »
hello,

i have setup a complex camera system which will change depending of players distance.

when the are distant enough, the screen split into a second camera which allows each player to play independently.
The problem for now is that when i active the camera for the second player, it displays the same image as the first player... not really usefull.

so i think there is a possibility to set cinemachine Brain vcam but it seems to be more complex than i espected.

is anyone as a solution ?

10
Playmaker Help / cinemachine target group
« on: August 02, 2018, 11:46:49 PM »
Hello,

i'm trying to create an action to set Cinemachine TArget group with dynamic transforms, usefull if your targets are not already instanciated when you start the game.

the thing is i don't know how to achieve this code...

Code: [Select]
using Cinemachine;
using UnityEngine;

namespace HutongGames.PlayMaker.Actions.ecosystem.cinemachine
{

[ActionCategory("Cinemachine")]
[Tooltip("Modify Cinemachine Target Group")]
public class CinemachineTargetGroupEditor : FsmStateAction
{
[RequiredField]
[Tooltip("The Cinemachine virtual Camera")]
[CheckForComponent(typeof(CinemachineTargetGroup))]
        public FsmOwnerDefault gameObject;

[RequiredField]
[UIHint(UIHint.Variable)]
[ObjectType(typeof(Transform))]
public FsmGameObject[] storeObjects;
private FsmObject storeTransform;

[ObjectType(typeof(Transform))]
private FsmObject[] touslestransforms;

public FsmBool everyframe;

public override void Reset()
        {
            gameObject = null;
storeObjects = new FsmGameObject[0];
storeTransform = null;
        }

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

// Code that runs every frame.
public override void OnUpdate()
{
SetTargetGroup();
}

void SetTargetGroup()
{
if (storeObjects == null ) return;

for (var i = 0; i < storeObjects.Length-1; i++)
{
var go = storeObjects[i].Value;
storeTransform.Value = go.transform;

touslestransforms[i]=storeTransform.Value;
}
}
}

}

11
Playmaker Bug Reporting / disappearring action while drag and drop
« on: July 31, 2018, 12:22:37 AM »
take a look on this short video
https://youtu.be/4xI8-oKFGs8

12
Share New Actions / Playmaker actions for post processing Stack V2
« on: July 26, 2018, 01:47:21 PM »
Hi everyone !!
i have been working  hard to make this product available as fast as possible and now it's ready and uploaded to asset store !

i'm waiting review to trully say: it's online ,
but if it is good, you'll can find it there:

https://www.youtube.com/watch?v=j515yw9bd8g



13
Playmaker Help / Store postprocessingProfile in FsmObject
« on: July 25, 2018, 12:10:02 PM »
Hello,

My problem is that i want to:

create an action, in wich,
 user can set a profile to FsmObject
 send it to postprocessing volume as active profile

if i can set manually  my fsmobject to constraint it to receive a profile, in the can i'm unable to set it because i have this error message:

Code: [Select]
cannot implicitly convert type 'unityengine.object to unityengine.rendering.postprocessing.profile
part of code used:

Code: [Select]
[ObjectType(typeof(PostProcessProfile))]
[Tooltip("set a post processing profile")]
public FsmObject VolumeProfile;

UsedVolume.profile = VolumeProfile.Value;


so how do i convert this fsm value to my profile type ?



14
Feature Requests / FsmVector4
« on: July 25, 2018, 08:23:49 AM »
hmm yes, me again,
i just discovered that this kind of variable exist and may be used in unity, but actually no fsmvector4 exist to complete it.

15
Feature Requests / FsmButton
« on: July 25, 2018, 07:30:44 AM »
Hello,

ido'nt know if i must cal it a button or choice list, but a way to create action allowing user to select a choice by clicking a button that will activate different function after .

Pages: [1] 2 3 ... 10