playMaker

Author Topic: Baisically Send Event At 1/10 Chance--Due TOMMOROW  (Read 2663 times)

pdunton

  • Playmaker Newbie
  • *
  • Posts: 35
Baisically Send Event At 1/10 Chance--Due TOMMOROW
« on: September 18, 2013, 08:02:44 PM »
I want to have events be sent randomly.  I looked at Random Event and that is not what I want.  If I have 100 event recievers, I want 10 of them to get the event.  Baisically 1/10 of them will recieve the event. 
Thanks!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Baisically Send Event At 1/10 Chance--Due TOMMOROW
« Reply #1 on: September 18, 2013, 08:16:40 PM »
You could parent them all to an empty game object, then use Get Random Child to store 10 objects and Send Random Event to each one.

You could also use Get Random Object (with tag) and do the same thing.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

pdunton

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Baisically Send Event At 1/10 Chance--Due TOMMOROW
« Reply #2 on: September 18, 2013, 08:21:58 PM »
YOU HAVE NO IDEA HOW MUCH YOU JUST HELPED ME!!!!!!!  THANK YOU!!!!
And if everyone is wondering why I am posting so much tonight, it is becuase I am finishing a game for a class presentation tommorow and won't be bothering you guys as much tommorow.
THANKS!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Baisically Send Event At 1/10 Chance--Due TOMMOROW
« Reply #3 on: September 18, 2013, 08:25:58 PM »
No problemo
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D