View Issue Details

IDProjectCategoryLast Update
0009732Shattered HavenSuggestion - Puzzle MechanicsNov 25, 2012 7:32 pm
ReporterGameMaker24 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0009732: New script condition: IsTwoPlayer
DescriptionIt would be great to have a script condition where it only runs if the game is two players. One application will be how the tutorial behaves if the game is played solo. Both Pierce and Lela are present at all times, but I would like to instantiate an NPC and orchestrate its actions only if needed.
TagsNo tags attached.
Internal WeightFeature Suggestion

Activities

GameMaker24

Nov 24, 2012 12:27 pm

manager   ~0029057

As I near the end of tutorial completion, I'm finding it increasingly more important to have this condition. To aid in storytelling, additional scripts will run to take the place of player 2's actions when there is no player 2 to perform them. This is because Lela and Pierce are given separate, parallel paths to take for a few screens, culminating in the kids taking positions "away from each other" so that the squid can charge Pierce without colliding into Lela. (We can discuss details outside of this issue.)

So, during single player, a few scripts will run that move Lela to various positions, while multiplayer will have the 2nd player unwittingly moving her to significant tiles on their own.

GameMaker24

Nov 24, 2012 12:28 pm

manager   ~0029058

Wanted to mention, this isn't time-sensitive, as I can write the additional scripts for single player now, and then conditionally disable them later.

Chris_McElligottPark

Nov 25, 2012 7:32 pm

administrator   ~0029068

Thanks!

* Added two new script conditions:
** ISTWOPLAYER - Script is only run if the current game has two active players at the moment.
** ISONEPLAYER - Script is only run if the current game has one active player at the moment.

Issue History

Date Modified Username Field Change
Oct 13, 2012 9:42 am GameMaker24 New Issue
Oct 13, 2012 9:42 am GameMaker24 Status new => assigned
Oct 13, 2012 9:42 am GameMaker24 Assigned To => Chris_McElligottPark
Nov 24, 2012 12:27 pm GameMaker24 Note Added: 0029057
Nov 24, 2012 12:28 pm GameMaker24 Note Added: 0029058
Nov 25, 2012 7:32 pm Chris_McElligottPark Note Added: 0029068
Nov 25, 2012 7:32 pm Chris_McElligottPark Status assigned => resolved
Nov 25, 2012 7:32 pm Chris_McElligottPark Resolution open => fixed