Help needed creating game slots

dwibredwibre Member Posts: 192
edited April 2012 in Working with GS (Mac)
I am creating a platform game. On my menu page I have 2 game slots so 2 players can play the game if you play game slot 1 and get to level 10 then next time you come back you can start from level 10. If you are playing game slot 2 and you get to level 5 you can come back and play game slot 2 from level 5 etc.

I have set up attributes "game slot position 1" and "game slot position 2" and as you complete the level I have a rule that says change attribute.game slot position 1 +1 and this all works fine. HOWEVER if I do the same for game slot position 2 when when I complete the level in game slot 1 game slot position 2 also adds 1 as the level does not know what game slot I am playing.

I need a rule that says (if you are playing game slot 1 then no changes should be made to attribute.game slot position 2) but I can't work out a way to do this

any ideas are welcome :-)

Best Answer

  • simo103simo103 Posts: 1,331
    edited April 2012 Accepted Answer
    @dwibre .. you will need an integer attribute 'what slot am I' set to 1. Then have the game set the attribute to 1 or 2 depending on who's playing. and in your rule have the slot position 1 +1 only trigger when 'what slot am I' is 1 and the same for 2.

Answers

  • dwibredwibre Member Posts: 192
    Thanks Simo103 going it try that out now many thanks
Sign In or Register to comment.