https://wiki.eduke32.com/w/index.php?title=Loadmapstate&feed=atom&action=historyLoadmapstate - Revision history2024-03-29T04:57:38ZRevision history for this page on the wikiMediaWiki 1.42.0-alphahttps://wiki.eduke32.com/w/index.php?title=Loadmapstate&diff=11607&oldid=prevHelixhorned: loadmapstate: Mention that startlevel+loadmapstate won't work.2013-05-18T19:22:08Z<p>loadmapstate: Mention that startlevel+loadmapstate won't work.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:22, 18 May 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If there is no cached copy of the map (either because [[savemapstate]] was not used in the map or the state was cleared using [[clearmapstate]]) then '''loadmapstate''' does nothing.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If there is no cached copy of the map (either because [[savemapstate]] was not used in the map or the state was cleared using [[clearmapstate]]) then '''loadmapstate''' does nothing.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">It is sensible to run '''loadmapstate''' from [[EVENT_ENTERLEVEL]] because running it after a [[startlevel]] command won't work as expected.</ins></div></td></tr>
<!-- diff cache key edukewiki:diff:1.41:old-11605:rev-11607:php=table -->
</table>Helixhornedhttps://wiki.eduke32.com/w/index.php?title=Loadmapstate&diff=11605&oldid=prevHelixhorned: Specify loadmapstate a bit more precisely.2013-05-18T18:33:21Z<p>Specify loadmapstate a bit more precisely.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:33, 18 May 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''loadmapstate''' restores the current map to the state it was in when the [[savemapstate]] command was last used in that map. <del style="font-weight: bold; text-decoration: none;"> </del>Thus, all the sprites will be in the positions they were in at that time, any sectors that were activated will still be activated<del style="font-weight: bold; text-decoration: none;">, </del>variables will be restored to the values they had at that time <del style="font-weight: bold; text-decoration: none;">(</del>unless <del style="font-weight: bold; text-decoration: none;">the variables </del>were declared with <del style="font-weight: bold; text-decoration: none;">the flag for preventing this)</del>, etc. <del style="font-weight: bold; text-decoration: none;"> </del>If there is no cached copy of the map (either because [[savemapstate]] was not used in the map or the state was cleared using [[clearmapstate]]) then '''loadmapstate''' does nothing.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''loadmapstate''' restores the current map to the state it was in when the [[savemapstate]] command was last used in that map.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Thus, all the sprites will be in the positions they were in at that time, any sectors that were activated will still be activated<ins style="font-weight: bold; text-decoration: none;">. Per-player and per-actor </ins>variables will be restored to the values they had at that time unless <ins style="font-weight: bold; text-decoration: none;">they </ins>were declared with <ins style="font-weight: bold; text-decoration: none;">[[Gamevar|GAMEVAR_FLAG_NORESET]]</ins>, etc.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If there is no cached copy of the map (either because [[savemapstate]] was not used in the map or the state was cleared using [[clearmapstate]]) then '''loadmapstate''' does nothing.</div></td></tr>
<!-- diff cache key edukewiki:diff:1.41:old-8670:rev-11605:php=table -->
</table>Helixhornedhttps://wiki.eduke32.com/w/index.php?title=Loadmapstate&diff=8670&oldid=prevDeeperThought at 15:46, 3 November 20092009-11-03T15:46:02Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 08:46, 3 November 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''loadmapstate''' restores the current map to the state it was in when the [[savemapstate]] command was last used in that map. Thus, all the sprites will be in the positions they were in at that time, any sectors that were activated will still be activated, variables will be restored to the values they had at that time (unless the variables were declared with the flag for preventing this), etc. If there is no cached copy of the map (either because [[savemapstate]] was not used in the map or the state was cleared using [[clearmapstate]]<del style="font-weight: bold; text-decoration: none;">, </del>then '''loadmapstate''' does nothing.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''loadmapstate''' restores the current map to the state it was in when the [[savemapstate]] command was last used in that map. Thus, all the sprites will be in the positions they were in at that time, any sectors that were activated will still be activated, variables will be restored to the values they had at that time (unless the variables were declared with the flag for preventing this), etc. If there is no cached copy of the map (either because [[savemapstate]] was not used in the map or the state was cleared using [[clearmapstate]]<ins style="font-weight: bold; text-decoration: none;">) </ins>then '''loadmapstate''' does nothing.</div></td></tr>
</table>DeeperThoughthttps://wiki.eduke32.com/w/index.php?title=Loadmapstate&diff=8669&oldid=prevDeeperThought: Created page with ''''loadmapstate''' restores the current map to the state it was in when the savemapstate command was last used in that map. Thus, all the sprites will be in the positions th...'2009-11-03T15:45:05Z<p>Created page with ''''loadmapstate''' restores the current map to the state it was in when the <a href="/wiki/Savemapstate" title="Savemapstate">savemapstate</a> command was last used in that map. Thus, all the sprites will be in the positions th...'</p>
<p><b>New page</b></p><div>'''loadmapstate''' restores the current map to the state it was in when the [[savemapstate]] command was last used in that map. Thus, all the sprites will be in the positions they were in at that time, any sectors that were activated will still be activated, variables will be restored to the values they had at that time (unless the variables were declared with the flag for preventing this), etc. If there is no cached copy of the map (either because [[savemapstate]] was not used in the map or the state was cleared using [[clearmapstate]], then '''loadmapstate''' does nothing.</div>DeeperThought