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

Pages: 1 [2] 3 4 ... 13
Share New Actions / Compare multiple Bool from other FSM
« on: April 21, 2021, 11:12:35 AM »
Basically, it is comparing multiple bools from another FSM and check if all conditions have been met.

I tried to find it on the ecosystem, but couldn't find one.

Share New Actions / Re: BTAGGED actions
« on: April 21, 2021, 07:50:26 AM »
Here the actions again

Share New Actions / Re: BTAGGED actions
« on: April 17, 2021, 02:36:46 PM »
Hi djay,

I did leave some notes on my review at the asset store. Just wanted to contribute some stuff for the communities  :)

It should work fine, Cuz i used the asset for my project and there is no problem so far

Share New Actions / BTAGGED actions
« on: April 17, 2021, 08:32:38 AM »

Share New Actions / Sprite Flash Actions
« on: April 15, 2021, 11:58:27 AM »

PlayMaker Help / Re: Fsm Template
« on: March 06, 2021, 11:46:54 AM »
That's weird, I tried the new runFsm and the template is disabling itself after entering play-mode regardless of whether everyframe or !everyframe.
mY action is just float operator of moveRight - moveLeft = result
(The value doesn't change too)

throw nullRefException:

Code: [Select]
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMaker.FsmTemplateControl.UpdateInputs () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/CustomActionTypes/FsmTemplateControl.cs:259)
HutongGames.PlayMaker.Actions.RunFSM_New.OnEnter () (at Assets/PlayMaker/Actions/StateMachine/RunFSM_New.cs:67)
HutongGames.PlayMaker.FsmState.ActivateActions (System.Int32 startIndex) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:222)
HutongGames.PlayMaker.FsmState.OnEnter () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:192)
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:3070)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:3009)
HutongGames.PlayMaker.Fsm.UpdateStateChanges () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2942)
HutongGames.PlayMaker.Fsm.Start () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2166)
PlayMakerFSM.Start () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:591)

There are a couple of concepts I'd like to make clearer in RunFSM and would love feedback on:

- Every Frame really means restart when finished. I tried to re-use the Every Frame concept from other actions, but I think this was a mistake. It should probably be labelled "Restart FSM When Finished". What do you think?

- Do we need options for "Update Inputs Every Frame" and "Update Outputs Every Frame" or is that just expected behavior? Are there situations where you don't want to update inputs/outputs every frame? There is a small performance benefit to not updating inputs if you know they're not changing...

For me, I treat template like a collapsed version of the many states inside it, so if the states was designed to return to the state 1, then the template will run forever. But maybe i was wrong about the template general concept.

PlayMaker Help / Re: Fsm Template
« on: March 05, 2021, 12:01:25 AM »
OK got it,

It should be insanely powerful if it can update every frame.

PlayMaker Help / Fsm Template
« on: March 04, 2021, 03:37:38 PM »
Not sure if this is a bug or intended

1. I made a template which is only "Float Add value A + Value B", where value B is exposed as an Input Variable

2. Then I delete it and use it in Run Fsm,

3. On Fsm Action, I have to put a value on the exposed Value B.

4. It works if I put a direct value on it. It is also worked if I enter the variable value beforehand.

5. However, When I eased a variable from 0-10, it will stays 0 and if I put ease float 5-10 it will stays 5.

6. Did a couple of tests with add value, set fsm float, but it won't change, so it can't be changed once the fsm template is running. It only accepts the initial value of the variable before running the fsm.

Hope someone can confirm if this is the case.

PS: I try with or without everyframe both on the template and FSM that run the template and no luck

PlayMaker Help / List to Array
« on: February 28, 2021, 01:12:45 AM »
Can anyone help me inspect whether this is the right way to convert from a list to
FSM array. This is a 3rd party store called "BTagged" it works really fast.

Code: [Select]
//Created by Ch1ky3n

using BOC.BTagged;
using UnityEngine;
using System.Collections.Generic;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Find all game objects with specific tag and store it in Fsm Array")]
public class TaggedFindManyGameObjectsByTag: FsmStateAction

[Tooltip("The Array Variable to use.")]
public FsmArray array;

[Tooltip("the tag")]
public Tag tag;

private List<GameObject> List;

public override void Reset()
array = null;
tag = null;


public override void OnEnter()
var query = BTagged.Find(tag);
List = query.GetGameObjects();

for (int i = 0; i < List.Count; i++)
array.Resize(array.Length + 1);
array.Set(array.Length - 1, List[i]);



It works, but I'm not sure if this is the right way to do it. Especially when performing against many objects.

also, is it better to do it with The Array List Proxy? if so can anyone help me on how to do it?

Thank you in advance!

General Discussion / Re: FSM Template Sub Forum
« on: February 19, 2021, 07:15:57 PM »
yeah, I think Templates are gonna be game-changing for this edition. It would be like their PMaker asset store lol

General Discussion / FSM Template Sub Forum
« on: February 16, 2021, 11:36:11 PM »
Dear Alex, isn’t it the right time to add Share/ Request FSM Template sub-forum?

The template system in ne 1.92  is awesome now and it should helps the communities a lot

What is your build ? Android? Ios?

You could add a debug state inside your action that shows up on your build to track the state that laggy or not triggered.

Try to minimize the build on certain function and deactivate the you start to work out from there.

Good Luck

PlayMaker Help / Re: FSM Variable Output
« on: February 12, 2021, 02:37:33 PM »
alright, Alex, I've been playing around with it for a bit and starting to get it now, thx

PlayMaker Help / FSM Variable Output <SOLVED>
« on: February 12, 2021, 12:08:12 PM »
I fully understand what is input in the variable tab, but could someone enlighten me on what is the example of practical use of Output?

Thanks in advance

PlayMaker Help / Re: Communicating between Prefabs and FSMs
« on: February 10, 2021, 11:06:49 AM »

in our game we only have a hand full of game objects set as global variables.
for example our character root / Meta Data / Item Data / Enemy Data.

So make global of the object of the metadata that contains all the important variables?
gotta try this one!

Pages: 1 [2] 3 4 ... 13