Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: Athin on July 01, 2020, 06:22:08 AM
-
Heya,
I was wondering if it was possible to make the Array list events (Add, Set, Remove) events to only fire off locally on the GO its on. Currently they fire off globally to all FSM. An option to fire off for a certain FSM/ All GO FSM/ or Globally would be ideal.
I have some prefabs with pre-set events on them. Once one of those Prefab have their array changed, it fires off the event for all of the prefabs in the game.
Thanks
-
Hi,
uhm good point, I'll see if I can put that in in the next update.
Bye,
Jan
-
Hey Jean,
Awesome! Will look forward for that update
Thanks
-
Hey Jean,
Any news on the update or a time when it will be place in? Waiting for the update to continue with my system basically.
Thanks!
-
Hi,
thanks for the ping, will try and update for wednesday, please ping me on thursday if I haven't replied here.. I need the bumps :)
Bye,
Jean
-
Hey Jean,
Not sure what time zone you're in but its Thursday here in Australia today :). Giving a bump here.
Thanks
-
Hi,
I am based in Russia, so yes, one week is the time zone delay... :o
Arghhh... running being... I am sorry.
Bye,
Jean
-
Heya Jean,
All good buddy. Time gets away from all of us time to time ;).
Let me know once the change is made once you can get around to it.
Thanks
-
Hi,
Ok, Made a new toggle "local only" which will send the events to the gameobject hosting the arraymaker component.
I can't add the full blown event target and event selector as arraymaker is getting old and I would need to revamp the whole interface to brign it up to date to show these new property drawers. So I am saving this ground work for playmaker 2.0 basically.
Let me know how it goes and if it's good for you I'll push that officialy on the ecosystem. For now download it below,
Download ArrayMaker (https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U2018/blob/master/PlayMaker/Ecosystem/Custom%20Packages/ArrayMaker/ArrayMaker.unitypackage?raw=true)
Bye,
Jean
-
Hey Jean,
Sorry for the late reply. Just tried playing with this today and doesn't seem to work for me. I did a few different test and it just seems like its not quite working.
I made a simple Empty GO Cube and had it create a GO. It then added it into an array that was also on that GO Cube. Another FSM on the Cube would listen for the "Add" Event from the Cubes Array events. I also made a GO Sphere that simply had a listening state waiting for the "Add" event too for testing.
If I make the Event itself Local only, it never seems to fire off the event on either GO listening for it. If I make it a Global event then BOTH the Sphere and Cube fire off. The Local Only was always ticked on the Array.
Still appears to need a tinker with the code.
P.S. Are there plans for Playmaker 2.0 coming? That would be a bit exciting to look forward to.
Thanks
-
Hi,
can you share your test scene? I'll have a look, it works for me here.
Bye,
Jean
ps: playmaker 2.0 is still very much a work in progress, I don't have any news, it's right now in alpha.