-
October 30th, 2020, 07:37 #1
FGU: Capture movement events on maps (arrow keys)
Is there a means to capture the event of movement with arrow keys? I've a need to capture (and do something) whenever a arrow key is pressed to move a token. Also possibly the same thing for when a locked token's movement is accepted (and it slides around the map).
Not really looking for when a token is clicked and dragged but specifically for arrow key movement and token (locked) accepted movement.Last edited by celestian; October 30th, 2020 at 07:39.
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
October 30th, 2020, 17:23 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
There's nothing like that. There is only the tokeninstance.onMove event that should be triggered when a token moves.
Regards,
JPG
-
October 30th, 2020, 18:40 #3---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
October 30th, 2020, 19:00 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
The onMove event is essentially the same thing; except that it triggers on drag moves as well.
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks