Need help with 'Spawn'

WTDeveloperWTDeveloper Member Posts: 352
edited January 2012 in Working with GS (Mac)
Hey everyone,

In my Game I have an actor, which should spawn every 2 seconds a Sheep. In my Game I want different Levels. In the First Level it should spawn 1 Sheeps and 2 in the Second.
How can I make that??

WTDeveloper

Comments

  • SAZ_1SAZ_1 Member Posts: 397
    edited January 2012
    check out gshelper.com ... there is a all your levels in one scene tutorial by tshirt booth ... might help using tables etc. ... alternatively you could create a integer rule in the prototype of the spawn actor called spawn number (set this to one, so 1 sheep in level one)...then in the next scene level 2 open the spawner and change the spawn number to 2.... now put the timer in a rule if spawn number is >0 spawn actor sheep every 2 seconds, do change attribute in the same rule in the timer spawn number to ... spawn number -1. .. i think that should work!
Sign In or Register to comment.