Back after a long spring break. Also got some questions :)

DanielADanielA Member Posts: 101
edited November -1 in Working with GS (Mac)
Back and ready to work :).
Ok well my 1st question is, is there anyway to put a counter on the number of the same actors on the game? For example i do not want more then 15 P actors spawned, i want them to be destroyed before they are spawned. How do i do this?
My other questions i do not know how do describe. should i make a video or what?

Comments

  • ORBZORBZ Member Posts: 1,304
    pre-spawn all your actors, keep them off screen. move them into position when ready.

    GameSalad sucks at spawning and destroying stuff. Major performance penalty.

    Yes, it's a bitch.

    Only spawn/destroy if you absolutely must.
  • DanielADanielA Member Posts: 101
    I do HAVE to spawn it though.... but if my character doesn't move then it keeps spawning at the rate i set it to (its a kinda glitch thing). So im out of luck?
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    make a game attribute, 'number of P's'

    then on the actor that is spawned have a rule that adds one to the game attribute.

    And on the rule that is spawning your actors have it so that:
    if 'game.number of P's' < 15
    spawn actor.

    This way as soon as there are 15 P's in your scene, no more can be spawned..

    Hope that helps.
Sign In or Register to comment.