playMaker

Author Topic: Broadcast Event not working  (Read 2535 times)

spiral

  • Playmaker Newbie
  • *
  • Posts: 18
Broadcast Event not working
« on: August 11, 2014, 04:00:58 PM »
Hi I'm using send event action with broadcast event. What I do is call this action and send a global event to others gameObjects.
The problem is that sometimes a event trigger in one gameobject, but not in all gameobjects that share the same global event.

The crazy thing is that I can't track down where is the problem because sometimes it works well and sometimes not.

I don't know what broadcast event do internally. But is possible that It collapse if I use the action when I'm loading or updating a lot of things? Or for your experience when its possible that the action breaks or miss to trigger some global event instances?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Broadcast Event not working
« Reply #1 on: August 11, 2014, 05:23:00 PM »
I just tried to repro by broadcasting to a few hundred objects with no trouble.

Can you post a repro scene?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

spiral

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Broadcast Event not working
« Reply #2 on: August 14, 2014, 12:55:28 PM »
I found a way. The gameobjects with this global event are two. I used two times the action Send event with fsm component as target. So the second send event have a delay of 0.1.

Its weird but it works.