Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.0.1
Fix injected hud swf not loading.
This is a tool for modders, to allow displaying keybindings in the HUD.
Compatibility This mod does not touch any vanilla records, should be compatible with everything, including mods that change HUD or interface skin mod.
How to use Get a reference to SkyInteract Quest by adding it as a property in your script or by calling SkyInteract_Util.GetSkyInteract(), then you can use it to add/remove keybinding display in HUD:
SkyInteract myBinding = SkyInteract_Util.GetSkyInteract() myBinding.Add("myUniqueID", "Label of the action", Int aiKeyCode1, Int aiKeyCode2, Int aiKeyCode3, Int aiKeyCode4) Utility.Wait(3) myBinding.Remove("myUniqueID") ; now hide it
The first parameter is a unique ID, which you need if later on you want to hide the thing from HUD, next is the string label which supports scaleform translation, next four parameters are the keycodes you want to show (you'll likely use just one/two). You can use Input.GetMappedKey() to get the keycode for a given Control.