Need help with restart scene

Fredrik BixoFredrik Bixo Member Posts: 239
edited December 2011 in Working with GS (Mac)
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?

Comments

Sign In or Register to comment.