Spawn actor every random time

ComputerWareComputerWare Member Posts: 10
edited November -1 in Working with GS (Mac)
Hi!

I can't find any solution for this problem.

I have an actor, that should spawn a new actor with a random time interval. Like:

1 second, and then 0.7 second before the next comes, and the 1.2 and so on... random all the time...

Does anyone have an answer on this???

/Chris

Comments

  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Use the expression editor (the little e) within a timer behaviour.

    Every ... Random(0.3,1.8) spawn ...

    Change the numbers to suit you
  • ComputerWareComputerWare Member Posts: 10
    wouldn't that just send out numbers rounded to no decimals???
Sign In or Register to comment.