How to make a attribute connecting 10 actors?
Hey,
I want some things to be collected in a given way. But how to use attribute, everytime when the player gets the right item, the "finish" attribute is set to 1, 2 ,3..... But what to do when he collects the item in a wrong way? How can this be set up?
If he fails I just want to reset the scene immediately. So somehow the reset attribute has to know the right way.
But how to do that?
thx
I want some things to be collected in a given way. But how to use attribute, everytime when the player gets the right item, the "finish" attribute is set to 1, 2 ,3..... But what to do when he collects the item in a wrong way? How can this be set up?
If he fails I just want to reset the scene immediately. So somehow the reset attribute has to know the right way.
But how to do that?
thx
Comments
this does not work :
when its collected
rule if game.order is NOT = to self.number
trigger failed rules
because in each actor there is a change attribute rule standing alone that says
change self number to 1 or two...
forget it, I am just a idiot haha
how about your bf3 score? I am also playing
thx
For failure I have an attribute, and when the wrong item is collected this attribute is set to 1, all are destroyed and a retry button is showed up. But the funny thing is (only this way) when I press the first correct one and then the item that normally has to be collected at last, the scene gets just reset and the retry button doesn't appear ^^
It only happens when trying with the GSViewer...
Thx
the next is that the count system does not work
Actor1: When touch is pressed and attribute game.order = 1 (because actor 1 has an index attribute set to 1).... change game.order to game.order+1, destroy the actor
Actor2:When touch is pressed and attribute game.order = 2 (because actor 2 has an index attribute set to 2).... change game.order to game.order+1, destroy the actor
But there is a fail rule ( I added a integer fail attribute) when touch is pressed and game.order equals NOT 2 change fail attribute to 1, destroy
The game.order attribute is set to 1 at the beginning...
Please help
thx
thx tshirtbooth
what is causing this??
For failure rule I have an attribute, and when the wrong item is collected this attribute is set to 1, all are destroyed and a retry button is showed up. But the funny thing is (only this way) when I press the first correct one and then the item that normally has to be collected at last, the scene gets just reset and the retry button doesn't appear ^^
It only happens when trying with the GSViewer...
When I press the first correct item and then immediately a wrong one, scene just get's reseted. When I press the wrong one not immediately, the retry button shows up as it should.
How would you set up the fail rule tshirtbooth, I think that's the only problem!
thx for helping me
Can somebody help me?