GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

random of 5 gives only 2

HunnenkoenigHunnenkoenig Posts: 1,173Member
edited November -1 in Working with GS (Mac)
I want to spawn a random actor from a set of 5 and I set an attribute integer random function "random(1,2,3,4,5)"

When I start the scene in GS, only the first 2 actors get drawn out of the 5.

I get those 2 actors rotational by every new start. That means:

Start 1 = actor 1
Start 2 = actor 2
Start 3 = actor 1
Start 4 = actor 2

etc.

What do I do wrong?
Is random fuction limited to 2 variables only?

Comments

This discussion has been closed.