Help! Attribute killing ALL Actors
swiftskater1
Member Posts: 97
So i have an attribute that when the bullet collides with a enemy it subtracts a life. but my problem is when the attribute = 0 it kills ALL of the enemys. Not just that one. Any ideas?
Comments
It seems like you're using a Game attribute instead of actor attributes. The Unofficial GameSalad Textbook might help you with understanding the differences between game, scene, device and actor attributes.
http://gamesalad.com/wiki/how_tos:gsc_use_attributes?s[]=attributes
http://gamesalad.com/wiki/how_tos:gsc_create_attribute?s[]=attributes
http://gamesalad.com/wiki/how_tos#game_logic
http://www.youtube.com/user/GameSaladCookbook