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

functions- getMoveLock() - setMoveLock(0/1) #3951

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

Jmr3366
Copy link
Contributor

@Jmr3366 Jmr3366 commented Apr 17, 2023

Identify the Bug or Feature request

https://forums.rptools.net/viewtopic.php?t=26911
Discord contains requests from several users

Issue #4340

Description of the Change

Two functions:
setMoveLock(0/1) returns nothing. Mimics the Tool menu -> Lock Player Movement check
getMoveLock() returns the current state of the check in true or false

Possible Drawbacks

End users can still use the hot key or menu to change the state

Release Notes

Examples:
[r: setMoveLock(0)] will uncheck the Lock Player Movement check
[r: setMoveLock(1)] will check the Lock Player Movement check


This change is Reviewable

@cwisniew cwisniew added the feature Adding functionality that adds value label Apr 17, 2023
@cwisniew cwisniew added this pull request to the merge queue Apr 17, 2023
Merged via the queue into RPTools:develop with commit c126583 Apr 17, 2023
@Jmr3366 Jmr3366 deleted the FR-get-set-movelock branch September 6, 2023 00:59
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