# Story Set Change
Grammar — Set up graphics engine for a set change
Flags —Native
|Action
|Restricted
Prepares the graphics engine for a set change.
Returns — void
native void StorySetChange();
# Related
Category: Story / Modes And Sets
- Campaign Mode —
void
— CampaignMode - Story Create Planet Panel —
void
— StoryCreatePlanetPanel - Story Mode —
void
— libNtve_gf_StoryMode - Player In Story Mode —
bool
— libNtve_gf_PlayerInStoryMode - Story Set Change —
void
— StorySetChange
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:8907
}
StorySetChange();
gv_currentRoom = lp_room;
lv_location = gf_RoomLocation(gv_currentRoom);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:8907
}
StorySetChange();
gv_currentRoom = lp_room;
lv_location = gf_RoomLocation(gv_currentRoom);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3292
lib281DEC45_gv_zSS_LastRoom = lib281DEC45_gv_zSS_CurrentRoom;
if ((lp_room != lib281DEC45_gv_zSS_CurrentRoom)) {
StorySetChange();
lib281DEC45_gf_ZSS_LeaveRoom();
lib281DEC45_gv_zSS_LastUniqueRoom = lib281DEC45_gv_zSS_CurrentRoom;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1957
libVCST_gv_pS_LastRoom = libVCST_gv_pS_CurrentRoom;
if ((lp_room != libVCST_gv_pS_CurrentRoom)) {
StorySetChange();
SoundSetReverb("Off", 1.0, true, true);
libVCST_gf_ShowHideAmbientScenesInRoom(false, libVCST_gf_CurrentRoom());
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1760
libNCST_gv_nS_LastRoom = libNCST_gv_nS_CurrentRoom;
if ((lp_room != libNCST_gv_nS_CurrentRoom)) {
StorySetChange();
SoundSetReverb("Off", 1.0, true, true);
libNCST_gf_ShowHideAmbientScenesInRoom(false, libNCST_gf_CurrentRoom());