Condition > change actor tag
Is there a way to change an actor's tags during the game?
Say something has collided 3 times, then change tag so that it won't collide anymore.
There is a self.tag attribute in the attribute browser, I tried to change that by writing the name of another tag in the expression window, but things got unpredictable after that.
What's the right way to do this? Couldn't see anything about it in the Wiki.
Thanks!
Say something has collided 3 times, then change tag so that it won't collide anymore.
There is a self.tag attribute in the attribute browser, I tried to change that by writing the name of another tag in the expression window, but things got unpredictable after that.
What's the right way to do this? Couldn't see anything about it in the Wiki.
Thanks!
Comments
Attribute collide_count <= 3 then collide.
The collide behavior will be on another actor, what I want is for a collision object to stop being a collision object after a certain amount of collisions.