Cannot Destroy an Actor!

GameCre8torGameCre8tor Member Posts: 49
edited November -1 in Working with GS (Mac)
Hi guys,

I have made a spaceship game in which the player spawns a laser beam, but when I shoot the laser beam at the enemy, the beam goes straight under the enemy without it being blown up. I have added a simple "when actor overlaps or collides with actor of type (laser beam), Destroy this actor" to the enemy, but the enemy will not be destroyed!

Any suggestions?
GameCre8tor.

Comments

  • GameCre8torGameCre8tor Member Posts: 49
    I have just done it to the enemy so I will add it to the Laser Beam as well. Thanks for the advice!
  • GameCre8torGameCre8tor Member Posts: 49
    Now the laser beam is destroyed, but the enemy remains! I am not sure what is wrong!

    Any other suggestions?
    GameCre8tor
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Are you using actor of tag or type? I have found tags don't always work :(
  • GameCre8torGameCre8tor Member Posts: 49
    I am using an actor of type, but doesn't seem to work, how do you use actor of tag?
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Good idea.
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    More importantly, did you unlock the instance actor (the actor in the scene) and then edit the prototype (the one in the actors pane) and add the Destroy behavior in prototype?

    Unlocking an instance will make it so you no longer can receive changes from the prototype. Adding to an instance will not change other instances that are unlocked.
Sign In or Register to comment.