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

Pages: [1] 2 3
1. Make a Prefab contains many children (Used for referencing)
2. Make an FSM that trying to manipulate those children
3. Add a couple of scripts to modify the scale/transform/Sprite renderer color
4. Cache some of the children's objects and drag some of them into the action's gameObject field directly.
5. Drag the prefab into the scene 5-6 times
6. Then modify the original prefab by adding some actions/deleting some
7. Try to do this couple of time
8. After a while, check the instantiated prefab (#5)
9. Somehow, It replaces those direct references to some cached variable and vice versa.
10. Removing the scene prefabs and replace them with the original prefab solves the problem

In the screenshot below, I just add new action inside the original prefab
then when I check the scene prefab
the variable changes from objParentBrick > ObjMonitor.

EDIT: I only test the GameObject variable. Make sure to go to PlayMode at least once to see the bug changes the variable

Share New Actions / Detect sides from Box2d Collider
« on: April 23, 2021, 03:14:34 AM »
This action will detect which side (Up, Bottom, Left, Right) of the collision and send FsmEvent accordingly

I used the original collision2dEvent action and modified it only when the collision enter.

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

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

Feature Requests / Mini request
« on: February 04, 2021, 09:02:27 AM »
Hi, It would be nice to have a shortcut on Locking and Unlocking the fsm selected and could be assigned on Unity Shortcuts. I used the lock function a lot, not sure about others. It would definitely speed up the work for those who do.

PlayMaker Bug Reporting / Minor bug when type in the variable [FIXED]
« on: February 02, 2021, 04:29:35 PM »
When you go to the variable tab,
Try to pick some float variable and enter a value say 19.5
The first digit get in (1)
The second digit goes to search bar (like searching “9”)
So u have to refocus on the variable again and fill the rest

Not sure if it is only me or happens to other

Share New Actions / Ghost Tool Pro Action
« on: November 28, 2020, 10:28:33 PM »

PlayMaker Help / Limit FsmInt value on editor
« on: September 01, 2020, 11:01:40 PM »
I'm making a custom action, is it possible to limit FsmInt value inside the editor? just like the good old Range[]?

thank you

Pages: [1] 2 3