
Creates a facing indicator for the selected token(s). The indicator is on the top of the map layer, so won't interfere with tokens on the object layer. If the Token is on the GM layer, the indicator will be on the GM layer as well, at the very bottom. The indicator maintains it's relationship to the token through moves, scales, etc. Additionally, if a token represents a character, Facing will create an attribute on that character that has the current facing angle.

By default Facing uses relative rotation, which means that if you rotate the token 45 degrees, the indicator will rotate 45 degrees as well. (Hint: watch the resize indicator box that is on the indicator to line things up.) You can switch off Relative Rotation in which case the direction you point the rotation handle will be the direction the indicator points. However, there is no way to point the rotation handle up, so you will need to use !zero to face the token north in that case.
You can select your own Direction Indicator. Just put it on the table and push the Pick button and then click on the graphic. You must use a graphic in a User Library. MarketPlace assets cannot currently be created by the API. After setting a new Direction Indicator, you can adjust the scaling to get the indicator token to fit correctly.
Facing creates an attribute on the character associated with a token that has the rotation stored in it for reference in macros. The name of that attribute can be set by clicking the Set Name button.
GIT: https://github.com/shdwjk/Roll20API/blob/master/Fa...
Commands:
- !facing -- toggles the facing indicator on and off for a token
- !zero -- aligns the indicator to north when you've got it just a few degrees off or are using absolute direction mode.

By default Facing uses relative rotation, which means that if you rotate the token 45 degrees, the indicator will rotate 45 degrees as well. (Hint: watch the resize indicator box that is on the indicator to line things up.) You can switch off Relative Rotation in which case the direction you point the rotation handle will be the direction the indicator points. However, there is no way to point the rotation handle up, so you will need to use !zero to face the token north in that case.
You can select your own Direction Indicator. Just put it on the table and push the Pick button and then click on the graphic. You must use a graphic in a User Library. MarketPlace assets cannot currently be created by the API. After setting a new Direction Indicator, you can adjust the scaling to get the indicator token to fit correctly.
Facing creates an attribute on the character associated with a token that has the rotation stored in it for reference in macros. The name of that attribute can be set by clicking the Set Name button.
GIT: https://github.com/shdwjk/Roll20API/blob/master/Fa...
If you use my scripts, want to contribute, and have the spare bucks to do so, go right ahead. However, please don't feel like you must contribute just to use them! I'd much rather have happy Roll20 users armed with my scripts than people not using them out of some sense of shame. Use them and be happy, completely guilt-free!
Disclaimer: This Patreon campaign is not affiliated with Roll20; as such, contributions are voluntary and Roll20 cannot provide support or refunds for contributions.