playMaker

Author Topic: Random events during gameplay?  (Read 1319 times)

ShinfoKensei

  • Playmaker Newbie
  • *
  • Posts: 22
Random events during gameplay?
« on: May 07, 2014, 03:48:46 AM »
I was just wondering if anyone was willing to help guide me along in the right direction for this.

I want to have an event trigger (I guess), at a random point, multiple times, but only once in a specified time.

Sound effect plays.
Particle effect around player (rain) + sound effect (rain/thunder).
Game object appears, moves from one location to another (Plane in the sky).
A different Sound effect.
Game object disappears, is replaced with another prefab.
Prefab disappears after a peroid of time.

I'm sorry if this seems like I'm asking for too much help. I just have no idea where to start.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Random events during gameplay?
« Reply #1 on: May 07, 2014, 08:48:46 AM »
Hi,

Have you experimented with "RandomEvent" and "SendRandomEvent" actions?

For random delays, inject the delay using a foat you have generated using "randomfloat" action.

bye,

 Jean