View Issue Details

IDProjectCategoryLast Update
0009978Shattered HavenGameplay IdeaJan 27, 2013 5:35 pm
ReporterGameMaker24 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0009978: HasRun command that is for a different sub-level
DescriptionI would like a HasRun command that is sub-level specific, instead of it needing to be on the same sub-level as the conditional script. My reason for this is that RunsNoMore, while sub-level-specific, requires the other script to be OnceOnly and ran. OnceOnly is so absolute that it won't run again, even if the player dies and restarts the level. This means that during subsequent tries, the later script will run early, before the player reaches the point where the later script should become enabled.

For the existing HasRun, the alternate sublevel could be an optional argument. A different solution would be to create a HasRunElsewhere command. In summary, this is a condition that should be able to become disabled again if the player dies.

An example of its use would be as follows: Player passes through screen A, and the path is clear. Player triggers something on screen B, and then upon returning to screen A, the path is blocked. (Upon dying, the path should become clear as it once was.)
TagsNo tags attached.
Internal WeightFeature Suggestion

Activities

Chris_McElligottPark

Jan 7, 2013 11:25 am

administrator   ~0029659

* Added a new HASRUNATSUBLEVEL condition:
** (args: Sublevel ScriptTitle) - Script is only run if the specified other script (in the specified sublevel of this level) has already run.
** I have not tested this, but it should work. If it doesn't, please let me know with also the test location I can use to look at it.

GameMaker24

Jan 12, 2013 7:50 pm

manager   ~0029776

I'm afraid it's not working yet. I'm using it on 095 B to test whether a script on 095 C has run. It's used in the CannotGoHome script that causes ShadowMan to appear and block the path Lela had taken, on the north side of the river.

Chris_McElligottPark

Jan 27, 2013 5:35 pm

administrator   ~0030313

Thanks!

* Fixed a bug where HASRUNATSUBLEVEL was not working.

Issue History

Date Modified Username Field Change
Dec 2, 2012 7:27 pm GameMaker24 New Issue
Dec 2, 2012 7:27 pm GameMaker24 Status new => assigned
Dec 2, 2012 7:27 pm GameMaker24 Assigned To => Chris_McElligottPark
Jan 7, 2013 11:25 am Chris_McElligottPark Note Added: 0029659
Jan 7, 2013 11:25 am Chris_McElligottPark Status assigned => resolved
Jan 7, 2013 11:25 am Chris_McElligottPark Resolution open => fixed
Jan 12, 2013 7:50 pm GameMaker24 Note Added: 0029776
Jan 12, 2013 7:50 pm GameMaker24 Status resolved => feedback
Jan 12, 2013 7:50 pm GameMaker24 Resolution fixed => reopened
Jan 27, 2013 5:35 pm Chris_McElligottPark Note Added: 0030313
Jan 27, 2013 5:35 pm Chris_McElligottPark Status feedback => resolved
Jan 27, 2013 5:35 pm Chris_McElligottPark Resolution reopened => fixed
Apr 14, 2014 9:30 am Chris_McElligottPark Category Suggestion - Gameplay => Gameplay Idea