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

[FEATURE] Add Facing Direction to Player Variables #220

Open
Vlek opened this issue Sep 4, 2023 · 0 comments
Open

[FEATURE] Add Facing Direction to Player Variables #220

Vlek opened this issue Sep 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Vlek
Copy link

Vlek commented Sep 4, 2023

All feature requests will be considered, but not all will be implemented but please don't let that discourage you from submitting more.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Currently, there is no way to script in the normal Razor macro system as well as within a script in the Razor Enhanced feature set to gather what direction that a player is facing and perform actions based on that direction.

One such situation where this is helpful is with resource gathering. I would like to be able to create a script where I am going to mine in the relative direction that the player is facing. So, if my character is facing directly north, then I would do a target relative with x: 0, y: -1.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I would suggest a Facing or Direction variable that returns 0-7 for the different facing values as represented below:

0 1 2
7 Player 3
6 5 4

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I do not have an idea for what would be a good alternative.

Additional context
Add any other context or screenshots about the feature request here.

N/A

@Vlek Vlek added the enhancement New feature or request label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant