Randomly Spawning Actors
jordie.rulz
Member Posts: 5
I am currently using Gamesalad Windows Beta, i have used GS before but not much. Could someone please help me, i am trying to make 15 holes spawn an Arrow actor randomly. Please help
Best Answer
-
IsabelleK Posts: 2,807
I am currently using Gamesalad Windows Beta, i have used GS before but not much. Could someone please help me, i am trying to make 15 holes spawn an Arrow actor randomly. Please help
Just make an actor integer attribute in each hole, and put a rule:
Timer: each X seconds
Change attribute (here insert your integer attribute) to: random(0,1)
Rule
If attribute is 1: spawn actor Arrow.
Answers