View Issue Details

IDProjectCategoryLast Update
0010199Shattered HavenSuggestion - Puzzle MechanicsMar 7, 2013 11:54 am
ReporterGameMaker24 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0010199: New script condition: SwitchActivate
DescriptionI would like to have a new script condition that becomes TRUE when the player uses a switch. Its only argument would be the tile number on which the switch is located.

My initial reason for this is to allow a script to run that replaces ceiling tiles with wall tiles. This way, when the switch erases walls to create an east/west passage, a script can run which places walls directly north of that path so that you're not walking along abrupt ceiling tiles.

There are countless other uses for this script. The pulling of a switch could be used to drop enemies into the room, create obstacles where there were none, maybe even trigger an earthquake or a story scene...
TagsNo tags attached.
Internal WeightFeature Suggestion

Activities

GameMaker24

Dec 29, 2012 11:12 pm

manager   ~0029386

Thinking on this, its name should be past tense; SwitchActivated.

GameMaker24

Dec 29, 2012 11:15 pm

manager  

GameMaker24

Dec 29, 2012 11:16 pm

manager   ~0029387

Screenshot attached, from 006-W.

GameMaker24

Dec 31, 2012 9:29 pm

manager   ~0029409

I have found the poster child for this request! Level 44, Carve A Path, is already one of my new favorites. It would look beautiful if each switch allowed an event to trigger which maintained ceilings for the area each opens!

Chris_McElligottPark

Mar 7, 2013 11:54 am

administrator   ~0031002

This was added a couple of days ago, although slightly differently from how you envisioned it. See the release notes for details, but it lets you do all that you're looking for I believe.

Issue History

Date Modified Username Field Change
Dec 29, 2012 11:11 pm GameMaker24 New Issue
Dec 29, 2012 11:11 pm GameMaker24 Status new => assigned
Dec 29, 2012 11:11 pm GameMaker24 Assigned To => Chris_McElligottPark
Dec 29, 2012 11:12 pm GameMaker24 Note Added: 0029386
Dec 29, 2012 11:15 pm GameMaker24 File Added: Screenshot_2012_12_29_23_14_48.png
Dec 29, 2012 11:16 pm GameMaker24 Note Added: 0029387
Dec 31, 2012 9:29 pm GameMaker24 Note Added: 0029409
Mar 7, 2013 11:54 am Chris_McElligottPark Note Added: 0031002
Mar 7, 2013 11:54 am Chris_McElligottPark Status assigned => resolved
Mar 7, 2013 11:54 am Chris_McElligottPark Resolution open => fixed