Difference between revisions of "User:DavidJCobb"
Jump to navigation
Jump to search
imported>DavidJCobb m (→Progress made) |
imported>DavidJCobb (And the library is LIVE!) |
||
Line 1: | Line 1: | ||
= My work = | |||
;[[User:DavidJCobb/Rotation Library|Rotation library]] | |||
:A library for working with rotations in Skyrim. If you need to position ''and'' rotate one object relative to another, this'd be the code to do that. | |||
= Scratchpad = | = Scratchpad = | ||
Line 7: | Line 9: | ||
**It's consistent: if it doesn't work for a file, then it will probably never work for that file (barring massive changes). | **It's consistent: if it doesn't work for a file, then it will probably never work for that file (barring massive changes). | ||
**You can work around this by referencing all functions in the script to be imported as methods, e.g. ''ScriptToBeImported.FunctionName()''. | **You can work around this by referencing all functions in the script to be imported as methods, e.g. ''ScriptToBeImported.FunctionName()''. | ||
Revision as of 23:59, 23 August 2014
My work
- Rotation library
- A library for working with rotations in Skyrim. If you need to position and rotate one object relative to another, this'd be the code to do that.
Scratchpad
- Import is unreliable, and I don't know what makes it break. It works in some cases, but in others, it completely fails to import global functions from the target file.
- Errors will not be generated when compiling in the Creation Kit. You'll only be able to detect the problem by checking the Papyrus logs, which will contain something like
Error: Method ImportedFunctionName not found on EntityThatHasAScriptThatImportsStuff. Aborting call and returning None
- It's consistent: if it doesn't work for a file, then it will probably never work for that file (barring massive changes).
- You can work around this by referencing all functions in the script to be imported as methods, e.g. ScriptToBeImported.FunctionName().
- Errors will not be generated when compiling in the Creation Kit. You'll only be able to detect the problem by checking the Papyrus logs, which will contain something like