Stop actors from doing there jobs.

Hello in my game i have it where when a actor collides with another actor -1 of an attribute called lose. Lose is st to 3 and when it gets 0 I interpenetrate the camera to go up. How ever i have another actor that spawn above the first screen in my case 480 and then falls then spawns again the falls again. But when you lose the actor still spawns. I tried doing
When game.lose >= 0 Destroy this actor but that didn't work any ideas of what i could do.
thanks

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2014

    Hi @mrcameron999

    try When game.lose <= 0 Destroy this actor
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Do you have the rule condition set to game.lose >= 0. If so, it needs to be less than or equal to 0.

    Another thing you can try is to add a displayText behavior to one of your actors and select game.lose from the expression editor. Then watch to see if it actually changes to 0 (or negative).
  • mrcameron999mrcameron999 Member Posts: 182
    Ok thanks gyroscope but I do and I'll give that a go taitang
Sign In or Register to comment.