How to Spawn Random Actors at different frequencies without Overlapping?

Hello All!

My question is, if it’s possible to combine the concept of spawning random actors as shown here:

https://forums.gamesalad.com/discussion/63337/spawn-random-actor-w-table-and-different-frequency

with the code as laid out in T-Shirt Booth’s “How to Spawn Actors with out overlapping” tutorial

I’ve got the code from the T-Shirt Booth example working great, my problem is that I’d like for the spawner to choose from a set of several actors, with some actors spawning at different frequencies. I’m new at this and this has me utterly confused. Can any one please inform?

Many thanks!!

Comments

  • gama3gama3 Member Posts: 29

    I have the same exact question! Have you found an answer yet?

  • wayback_gamerwayback_gamer USMember, PRO Posts: 124

    I am very new to GS, but I would generate a random number and change a specific boolean attribute based on the number with a timer and rule. Then use rules to determine which boolean was true and spawn the actors accordingly. You could create a test project and experiment with different strategies like this without changing your current code. You should be able to use rules and timers and boolean or integer attributes to accomplish this in my opinion.

Sign In or Register to comment.