Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new functions - getMapVision(), setMapVision("off/day/night") #4279

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

Jmr3366
Copy link
Contributor

@Jmr3366 Jmr3366 commented Sep 6, 2023

Requested feature

It was requested here: https://discord.com/channels/296230822262865920/296657960720007169/950558437991911475

Issue #4341

Description of the Change

Two must be trusted functions
getMapVision() will return the current Map Vision setting
setMapVision("off,day,night") will set the Map Vision setting for the current map

Possible Drawbacks

I'm not aware of any drawbacks, risks, or introduced issues

Release Notes

Examples:

  • [getMapVision()]
    Will return off or day or night

  • [setMapVision("day")]
    Will set map vision to day

  • [setMapVision("off")]
    Will set map vision to off


This change is Reviewable

@Jmr3366 Jmr3366 changed the title Develop new functions - getMapVision(), setMapVision("off/day/night") x2 Sep 6, 2023
@cwisniew cwisniew added the feature Adding functionality that adds value label Sep 6, 2023
@cwisniew cwisniew changed the title new functions - getMapVision(), setMapVision("off/day/night") x2 new functions - getMapVision(), setMapVision("off/day/night") Sep 6, 2023
@cwisniew cwisniew added this pull request to the merge queue Sep 6, 2023
Merged via the queue into RPTools:develop with commit e6bc74d Sep 6, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants