trabeated Posted March 9, 2015 Posted March 9, 2015 Hi,I would like to pass animations and coordinates to actors via scriptdragon and/or skse, however, I have been having a terrible time finding out what functions to call and what values to pass them. I am aware that the general method is to use AI scripting - this won't work for my use case.It seems as though some functions such as "showanim" have been removed, so I'm not even sure how to find out the names of animations to send.I would really, really appreciate it if someone could link me to a source that explains all of this to me or, better yet, has examples. I have looked at the sexlab framework code some, but I'm not entirely sure where the section is that handles this hooking.Thanks
WaxenFigure Posted March 9, 2015 Posted March 9, 2015 Hi, I would like to pass animations and coordinates to actors via scriptdragon and/or skse, however, I have been having a terrible time finding out what functions to call and what values to pass them. I am aware that the general method is to use AI scripting - this won't work for my use case. It seems as though some functions such as "showanim" have been removed, so I'm not even sure how to find out the names of animations to send. I would really, really appreciate it if someone could link me to a source that explains all of this to me or, better yet, has examples. I have looked at the sexlab framework code some, but I'm not entirely sure where the section is that handles this hooking. Thanks You seem to be coming here from another game which uses a different scripting language. Think of the new environment as a "The names have been changed to protect the innocent" type situation, you need to look at the reference material for Papyrus http://www.creationkit.com/Papyrus_Introduction and http://www.creationkit.com/Category:Papyrus This page is central: http://www.creationkit.com/Category:Script_Objects and this page has the reference you asked for http://www.creationkit.com/ObjectReference_Script
trabeated Posted March 9, 2015 Author Posted March 9, 2015 Thanks! I came across those pages, but I couldn't tell if they were worth spending much time on.A limitation I have is that I need to work in c++; my project is very intensive, and papyrus has limitations that make it inadequate, and I'm using c++ libraries. ScriptDragon and skse are supposed to allow access to papyrus functions, but I've had trouble finding a good reference of c++ functions maps to papyrus functions, or example code.What I want to be able to do is: - get current animation information - write an extension that if I press a button such as numpad2 the currently selected actor will execute that animation - if I press numpad3 I want the selected actor to start walking forward - or ideally in a direction I can specifyOnce I learn how to do these things I'll be pretty well set for a while.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.