GameSalad

Howdy, Stranger!

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

Randomly Spawning Actors

jordie.rulzjordie.rulz Posts: 5Member
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,807Member, Sous Chef
    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 Posts: 5Member
    edited June 2012
    I ade a test and it worked :) Thanks alot mate :P
This discussion has been closed.