Spawning characters

tross99tross99 Member Posts: 13
edited July 2012 in Working with GS (Mac)
I want my characters/enemy to spawn continuously and I made a spawner character but it isn't working for some reason aalso the other question i have is how to make it so when an enemy makes it past my gunner a life is lost.

Answers

  • HC_DKHC_DK Member Posts: 92
    @tross99: Like earlier, your posts are lacking of info. Very difficult to help you fix your code. Or are you just looking for someone to do a piece of code you can use??

    Why not post WHAT you have done and then we can help you fix your code or tell you to do it in another way??

    For the last question, have an actor (invisible) from top to bottom after your character and when the enemy collides with that subtract a life.

    HC
  • tross99tross99 Member Posts: 13
    thanks for the last part figured out the sppawning
  • tross99tross99 Member Posts: 13
    do i create a game life attribute and when the enemy interacts with this wall the gamelife attribute is constrained?
  • HC_DKHC_DK Member Posts: 92
    Yes, create an GLOBAL attribue called eg. GAME LIVE.

    Use CHANGE ATTRIBUTE: GAME LIVE to GAME LIVE + 1
  • tross99tross99 Member Posts: 13
    thanks
  • tross99tross99 Member Posts: 13
    I have my lives set up know and where theyre displayed when an enemy hits the wall another life is shown whether I put game attribute game lives + or - 1. Any ideas?
  • HC_DKHC_DK Member Posts: 92
    You need to put it inside a RULE in the Enemy:

    When Actor Overlaps or Collides with Actor Wall Then:
    CHANGE ATTRIBUTE: GAME LIVE to GAME LIVE - 1

Sign In or Register to comment.