-
August 24th, 2018, 20:53 #1
Are there any other "Hotkeys" allowed in FG besides CTRL, ALT and SHIFT?
I am wanting to create an extension that allows a player in the 5E ruleset to hold a hotkey like SHIFT and double click a Skill, I.E. Stealth or Perception and have that dice roll in the dice tower. From what I have gathered the three Hotkeys in the topic are the only ones active and bound. I guess I need to know:
1. Is it possible to bound CTRL, ALT or SHIFT + a skill roll to the dice tower?
2. Are there any other Hotkeys that anyone knows of that I could use instead?
3. Is this even possible to write or has it been tried before?
Thanks!!
FG Con 13 – Fantasy Grounds Online RPG Convention - October 12-14 2018
Register at www.fg-con.com for all the latest info.
Technical Administrator for Fantasy Grounds College
Holder of the "Ultimate License" | Allower of Demo Players!
GM of Nephilim Wars - 5E Post Apocalyptic Campaign
DM of Destiny Calls - 5E Homebrew that includes Waterdeep: Dragon Heist
-
August 24th, 2018, 22:43 #2
1) yes
2) no
3) yes/don't know
in Fantasy Grounds "Hotkey" means bottom panel of the desktop where you can store the most common rolls, modifiers, shortcut links etc. What you are asking are key inputs that FG engine API can detect. You can detect if end user is holding those keys with Input.isCtrlPressed(), Input.isAltPressed() and Input.isShiftPressed(). These has to be written as lua and you can make conjunction of all three keys holdings."Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness
Post your SavageWorlds ruleset feature requests and issue reports here!
-
August 24th, 2018, 22:46 #3
Sorry for the syntax error but thank you for the information! That is exactly what I needed!
FG Con 13 – Fantasy Grounds Online RPG Convention - October 12-14 2018
Register at www.fg-con.com for all the latest info.
Technical Administrator for Fantasy Grounds College
Holder of the "Ultimate License" | Allower of Demo Players!
GM of Nephilim Wars - 5E Post Apocalyptic Campaign
DM of Destiny Calls - 5E Homebrew that includes Waterdeep: Dragon Heist
-
August 24th, 2018, 23:32 #4
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
There is also Interface.onAltPressed and the like that let’s you take action when the key is pressed rather than just checking the status of the key at an instant in time
-
August 24th, 2018, 23:34 #5
Appreciate it! Brushing up on lua now so I can start working on it.
FG Con 13 – Fantasy Grounds Online RPG Convention - October 12-14 2018
Register at www.fg-con.com for all the latest info.
Technical Administrator for Fantasy Grounds College
Holder of the "Ultimate License" | Allower of Demo Players!
GM of Nephilim Wars - 5E Post Apocalyptic Campaign
DM of Destiny Calls - 5E Homebrew that includes Waterdeep: Dragon Heist
-
August 24th, 2018, 23:39 #6
That's non existent API I think he meant Input.onAlt read more from here: https://www.fantasygrounds.com/refdoc/Input.xcp
"Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness
Post your SavageWorlds ruleset feature requests and issue reports here!
-
August 24th, 2018, 23:44 #7
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
Yes sorry. Away from computer and saying from memeory which is awful
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks