View Issue Details

IDProjectCategoryLast Update
0009793Shattered HavenGameplay IdeaJan 5, 2013 10:30 pm
ReporterGameMaker24 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0009793: New script command: BGREMOVE
DescriptionWe already have an FGREMOVE command, but not BGREMOVE. With this of course, we could remove BG objects instead of just setting them with BGSET.

There are many examples of its use, such as making doors disappear as NPCs are scripted to "open" them, or causing water to drain away, revealing a rubble flooring beneath.

My current need for it is the in-game deletion of exit arrows, which will happen with story urgency when the player needn't be able to backtrack. In the meantime, I have used BGSET to replace such "obsolete exits" with AlternateEntrance tags which do nothing in this context. (I actually don't know what AlternateEntrance is used for.)
TagsNo tags attached.
Internal WeightFeature Suggestion

Activities

Chris_McElligottPark

Oct 22, 2012 8:39 am

administrator   ~0028747

I'm pretty sure that if you use BGSET EmptyGround, it will do what you want. Possibly BGSET None.

GameMaker24

Oct 27, 2012 6:22 pm

manager   ~0028826

Yes, BGSET EmptyGround works. Thanks! I'm not actually closing the issue because, eventually, having BGREMOVE will be more intuitive for players.

Chris_McElligottPark

Jan 4, 2013 5:54 pm

administrator   ~0029549

Good point!

* Simply for the sake of clarity for later players, added a BGREMOVE scripting command that is the same as doing BGSET EmptyGround.

GameMaker24

Jan 5, 2013 10:30 pm

manager   ~0029602

Tested and working great! I'm not going to try and update my scripts everywhere, since one's the same as the other, and since I can't search scripts for a keyword. (Should script-searching be a Mantis request..?)

Issue History

Date Modified Username Field Change
Oct 20, 2012 6:13 pm GameMaker24 New Issue
Oct 20, 2012 6:13 pm GameMaker24 Status new => assigned
Oct 20, 2012 6:13 pm GameMaker24 Assigned To => Chris_McElligottPark
Oct 22, 2012 8:39 am Chris_McElligottPark Note Added: 0028747
Oct 27, 2012 6:22 pm GameMaker24 Note Added: 0028826
Oct 27, 2012 6:22 pm GameMaker24 Status assigned => feature for later
Jan 4, 2013 5:54 pm Chris_McElligottPark Note Added: 0029549
Jan 4, 2013 5:54 pm Chris_McElligottPark Status feature for later => resolved
Jan 4, 2013 5:54 pm Chris_McElligottPark Resolution open => fixed
Jan 5, 2013 10:30 pm GameMaker24 Note Added: 0029602
Apr 14, 2014 9:30 am Chris_McElligottPark Category Suggestion - Gameplay => Gameplay Idea