Separate commands for overlay and full automap display

Moderator: GZDoom Developers

Post Reply
lokthar
Posts: 4
Joined: Sat Feb 29, 2020 10:32 am

Separate commands for overlay and full automap display

Post by lokthar »

The togglemap command allows to swap between overlay automap (if enabled) and full automap.
I'd like to bind two different keys to display the automap in the two different styles : one key for overlay only, and the other key for the full display only.

I didn't find a way to do that. Maybe with a cvar indicating/setting the current automap display mode ?

Thanx
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Separate commands for overlay and full automap display

Post by _mental_ »

Code: Select all

bind n "am_overlay 0; togglemap"
bind m "am_overlay 2; togglemap"
lokthar
Posts: 4
Joined: Sat Feb 29, 2020 10:32 am

Re: Separate commands for overlay and full automap display

Post by lokthar »

Oh yes it works !! Thanks for you quick answer.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”