playMaker

Author Topic: Array List Enable Events Sent Local  (Read 3394 times)

Athin

  • Full Member
  • ***
  • Posts: 163
Array List Enable Events Sent Local
« 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: Array List Enable Events Sent Local
« Reply #1 on: July 03, 2020, 02:10:52 AM »
Hi,

 uhm good point, I'll see if I can put that in in the next update.

Bye,

 Jan

Athin

  • Full Member
  • ***
  • Posts: 163
Re: Array List Enable Events Sent Local
« Reply #2 on: July 04, 2020, 06:55:57 AM »
Hey Jean,

Awesome!  Will look forward for that update

Thanks

Athin

  • Full Member
  • ***
  • Posts: 163
Re: Array List Enable Events Sent Local
« Reply #3 on: July 10, 2020, 03:25:43 AM »
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!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: Array List Enable Events Sent Local
« Reply #4 on: July 13, 2020, 03:24:22 AM »
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

Athin

  • Full Member
  • ***
  • Posts: 163
Re: Array List Enable Events Sent Local
« Reply #5 on: July 16, 2020, 02:23:38 AM »
Hey Jean,

Not sure what time zone you're in but its Thursday here in Australia today :).  Giving a bump here.

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: Array List Enable Events Sent Local
« Reply #6 on: July 21, 2020, 01:18:27 AM »
Hi,

 I am based in Russia, so yes, one week is the time zone delay... :o

Arghhh... running being... I am sorry.

Bye,

 Jean

Athin

  • Full Member
  • ***
  • Posts: 163
Re: Array List Enable Events Sent Local
« Reply #7 on: July 22, 2020, 02:31:38 AM »
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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: Array List Enable Events Sent Local
« Reply #8 on: July 27, 2020, 01:52:26 AM »
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


Bye,

 Jean

Athin

  • Full Member
  • ***
  • Posts: 163
Re: Array List Enable Events Sent Local
« Reply #9 on: August 16, 2020, 02:34:23 AM »
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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: Array List Enable Events Sent Local
« Reply #10 on: August 24, 2020, 02:31:06 AM »
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.