-
December 25th, 2024, 02:49 #1
- Join Date
- Feb 2021
- Posts
- 449
Is there any way, with code, to find which way a token is pointing?
Is this possible? Would like to know if an actor is being attacked from behind or the side.
-
December 25th, 2024, 17:10 #2
Probably. See setOrientation tokeninstance - Fantasy Grounds Customer Portal - Fantasy Grounds and https://fantasygroundsunity.atlassia...ientationCount
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
December 26th, 2024, 04:49 #3
- Join Date
- Feb 2021
- Posts
- 449
Thanks! This is how I used it
local tokenCT = CombatManager.getTokenFromCT(nodeCT);
nOrientation = tokenCT.getOrientation();
(returns 0-7)
Thread Information
Users Browsing this Thread
There are currently 3 users browsing this thread. (0 members and 3 guests)
Bookmarks