Hello.
Is there any way to keep a custom keycard between maps?
I'm creating a WAD with three normal maps and one secret map.
At map 02, the secret exit goes to map31, and from MAP31, normal exit go to map 03.
What i'm looking for is: if player find the secret exit at map 2, will got a specific key (custom key) at MAP31 and keep it to use at map 3 for an alternative end.
I've found this: +INVENTORY.PERSISTENTPOWER, but didn't work on the custom key.
Doom 2 IWAD, UDMF.
Any help appreciated.
Thanks in advance.
Keep custom key between maps
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
-
- Posts: 12
- Joined: Wed Aug 10, 2022 12:58 pm
- Preferred Pronouns: He/Him
-
- Posts: 4987
- Joined: Sun Nov 14, 2010 12:59 am
Re: Keep custom key between maps
That's just for powerups. What you want, instead, is Inventory.InterHubAmount (set it to 1).
-
- Posts: 12
- Joined: Wed Aug 10, 2022 12:58 pm
- Preferred Pronouns: He/Him
Re: Keep custom key between maps
Thanks man!!Blue Shadow wrote: ↑Sun Sep 17, 2023 8:06 pmThat's just for powerups. What you want, instead, is Inventory.InterHubAmount (set it to 1).