Mattiewagg Posted August 9, 2014 Share Posted August 9, 2014 Is it possible to use an SKSE function in the Dialogue Conditions area? For example, GetWeight? And if I do, is there a way to make it so my mod will only support SKSE, not require it? For example, I can have three lines: Line 1 - If GetWeight >= 50 Line 2 - If GetWeight < 50 Line 3 - For use if SKSE not installed. So is this possible? Link to comment Share on other sites More sharing options...
lofgren Posted August 9, 2014 Share Posted August 9, 2014 Not exactly. You can create a script in order to detect the presence of SKSE and set the value of either a global value or a property with the conditional flag accordingly. To flag a property as conditional, add the word "conditional" to the end of the first line of the script (the one that starts with "scriptname"), then add the word "conditional" at the end of the line declaring the properties you want to test. This only works for quest scripts as far as I know. When you go to test a property in the condition window, use the function GetVMQuestVariable. http://www.creationkit.com/GetVMQuestVariable Link to comment Share on other sites More sharing options...
Mattiewagg Posted August 9, 2014 Author Share Posted August 9, 2014 Not exactly. You can create a script in order to detect the presence of SKSE and set the value of either a global value or a property with the conditional flag accordingly. To flag a property as conditional, add the word "conditional" to the end of the first line of the script (the one that starts with "scriptname"), then add the word "conditional" at the end of the line declaring the properties you want to test. This only works for quest scripts as far as I know. When you go to test a property in the condition window, use the function GetVMQuestVariable. http://www.creationkit.com/GetVMQuestVariable Ah, thank you. I probably should have thought of that :smile:. Link to comment Share on other sites More sharing options...
Recommended Posts