pxd2050 Posted January 11, 2021 Share Posted January 11, 2021 (edited) How to execute a hotkey automatically with Script .I'm making a mod, when the game logs in, execute a hotkey.what function can do? Edited January 11, 2021 by pxd2050 Link to comment Share on other sites More sharing options...
pxd2050 Posted January 11, 2021 Author Share Posted January 11, 2021 someone can help? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted January 11, 2021 Share Posted January 11, 2021 Requires the use of SKSE...TapKey Link to comment Share on other sites More sharing options...
dylbill Posted January 12, 2021 Share Posted January 12, 2021 Depends what you're trying to do, skse might not be necessary. If you want some code to run whenever you load the game, you can use a script with the OnPlayerLoadGame() event. https://www.creationkit.com/index.php?title=OnPlayerLoadGame_-_Actor . The script should be on a reference alias pointing to the player. Link to comment Share on other sites More sharing options...
pxd2050 Posted January 12, 2021 Author Share Posted January 12, 2021 Requires the use of SKSE...TapKeyThank you so much. You are a good teacher Link to comment Share on other sites More sharing options...
pxd2050 Posted January 12, 2021 Author Share Posted January 12, 2021 Depends what you're trying to do, skse might not be necessary. If you want some code to run whenever you load the game, you can use a script with the OnPlayerLoadGame() event. https://www.creationkit.com/index.php?title=OnPlayerLoadGame_-_Actor . The script should be on a reference alias pointing to the player. Thank you for your reply,I just want put a Key for Immersive First Person View,because script have not function to change camera . Link to comment Share on other sites More sharing options...
dylbill Posted January 12, 2021 Share Posted January 12, 2021 Ahh gotcha, then yes TapKey is the way to go. Happy Modding :) Link to comment Share on other sites More sharing options...
Recommended Posts