Previous map console command

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Previous map console command

Re: Previous map console command

by Zhs2 » Sun Jan 29, 2023 12:02 pm

Your best bet is using the "changemap" command if you want to keep your inventory, or the "map" command for a pistol start.

Re: Previous map console command

by Rachael » Sun Jan 29, 2023 10:16 am

To GZDoom, naming maps "MAP15, MAP16, MAP31, MAP32" is no different than naming it "WOOD, TREE, LEAF, GRASS". Let's say hypothetically you are on MAP16 (or in this example TREE). If MAP15, MAP31, *and* MAP32 all lead to MAP16 (in our example, WOOD, LEAF, GRASS all leading to TREE) - how is the engine supposed to know which one is the right one?

Maybe it tracked the last map played - but then if you warp to MAP16 directly, you still won't know which map is supposed to be the previous one.

So basically you're left with a guessing game and a good chance for too much ambiguity.

Re: Previous map console command

by Graf Zahl » Sun Jan 29, 2023 7:15 am

'nextmap' emds the map and starts the one marked as "next " in MAPINFO.
There is no 'previous' and the info is never tracked so there is no CCMD.

Previous map console command

by invictius » Sun Jan 29, 2023 6:02 am

I've searched through every ccmd category on the wiki but it appears there's only a nextmap one. I'm guessing a previous map command is impossible, as you'd think it would have been implemented at the same time as nextmap, for competions' sake?

Top