Need help with restart scene
I going to try to describe this as good as I can. I have a start scene where you choose if you want to play 2-4 players. when you press start you go to another scene where is the "gaming scene".i want it to If all other players die but you its restarts the scene. But i don't know how to make a rule that when all players is dead its restart the scene. I have tried this:
I have maked attribute "howmanyplayers?" and another "iamdeadP1",P2,P3 and P4. (P=player)
at the start scene you choose between 2-4 players and change attribute "howmanyplayers"
rule: If attribute "howmanyplayers" is equal to iamdeadP1+P2+P3+P4-1
Restart game
change attribute Iamdead P1 ,P2 ,P3 and P4 to: 0
but when all but you die Nothing happened and the scene just freezes
Any ideas?
I have maked attribute "howmanyplayers?" and another "iamdeadP1",P2,P3 and P4. (P=player)
at the start scene you choose between 2-4 players and change attribute "howmanyplayers"
rule: If attribute "howmanyplayers" is equal to iamdeadP1+P2+P3+P4-1
Restart game
change attribute Iamdead P1 ,P2 ,P3 and P4 to: 0
but when all but you die Nothing happened and the scene just freezes
Any ideas?
Comments
Check out my latest game!
http://forums.gamesalad.com/discussion/41244/znake-hd-multiplayer-fun-coming-to-appstore-this-week