Triggers or attributes question
Posted: Sat Feb 14, 2009 5:21 pm
Hi everybody, I was planning new things for my game when I came up with an idea, and I'm trying to work it out. Okay, so the problem is that I've read the attribute and trigger entities part of the manual, but i just can't figure out how to do this:
1. Create a model in the game with a trigger assigned to it that activates when a pawn collides with the model, and deactivates when it's not.
2. Assign an attribute entity to a model that gives a pawn a certain ammount of this attribute, but that when the pawn isn't colliding with the model, the attribute goes back to zero.
I'd appreciate an answer, even if it's a "no idea how you could do that" please. Thanks for reading and I hope you can help me!
1. Create a model in the game with a trigger assigned to it that activates when a pawn collides with the model, and deactivates when it's not.
2. Assign an attribute entity to a model that gives a pawn a certain ammount of this attribute, but that when the pawn isn't colliding with the model, the attribute goes back to zero.
I'd appreciate an answer, even if it's a "no idea how you could do that" please. Thanks for reading and I hope you can help me!