Randomly Spawning Actors

jordie.rulzjordie.rulz Member Posts: 5
edited June 2012 in Working with GS (PC)
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

  • IsabelleKIsabelleK Posts: 2,807
    Accepted Answer
    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

  • jordie.rulzjordie.rulz Member Posts: 5
    edited June 2012
    I ade a test and it worked :) Thanks alot mate :P
Sign In or Register to comment.