how to do a math function?
tabelor
Member Posts: 114
i have the actors from 1 to 9 and they have a lot of values, they can collide and now i want a simple rule: when they collide, then the number they are displaying updates with the number displayed of the actor that they have collided
Edit: i just want if i drag number one to number 2 with the + simbol selected then you get a number three result.
Edit: i just want if i drag number one to number 2 with the + simbol selected then you get a number three result.
Comments
Change or constrain those attributes for every actor into a game attribute by a rule of your choice.
Add a rule to the actor:
If collides with actorX
Change self.attribute to self.attribute+game.attribute.actorX
Now read the changed attribute in another rule and do with it, what you want.