dizietemblesssma Posted July 22, 2020 Share Posted July 22, 2020 Maybe my googlefu is just appalling, but I can't actually find a list of formtypes for use in papyrus scripting. Can someone point me to one? diziet Link to comment Share on other sites More sharing options...
IsharaMeradin Posted July 22, 2020 Share Posted July 22, 2020 Probably because they are not referred to as "formtypes". I think you are wanting script objects instead. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted July 22, 2020 Author Share Posted July 22, 2020 In the source for PO3_SKSEFunctions from https://www.nexusmods.com/skyrimspecialedition/mods/22854there is the line:ObjectReference[] Function FindAllReferencesOfFormType(ObjectReference akRef, Int formType, float radius) global native This may be useful to me since it acts within a radius, but I have no list of the formtypes - which appear to be integers diziet Link to comment Share on other sites More sharing options...
IsharaMeradin Posted July 23, 2020 Share Posted July 23, 2020 You would need to ask powerofthree about that as it is something that they came up with. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted July 24, 2020 Author Share Posted July 24, 2020 So it's not a vanilla thing, ok thanks diziet Link to comment Share on other sites More sharing options...
Evangela Posted July 24, 2020 Share Posted July 24, 2020 (edited) In the source for PO3_SKSEFunctions from https://www.nexusmods.com/skyrimspecialedition/mods/22854there is the line:ObjectReference[] Function FindAllReferencesOfFormType(ObjectReference akRef, Int formType, float radius) global native This may be useful to me since it acts within a radius, but I have no list of the formtypes - which appear to be integers dizietI think that custom function utilizes the functionality of the GetType function and returns all references found of the desired form type as an array. Think of GetNumRefs. https://www.creationkit.com/index.php?title=GetType_-_Form Edited July 24, 2020 by Rasikko Link to comment Share on other sites More sharing options...
dizietemblesssma Posted July 24, 2020 Author Share Posted July 24, 2020 I think that custom function utilizes the functionality of the GetType function and returns all references found of the desired form type as an array. Think of GetNumRefs. https://www.creationkit.com/index.php?title=GetType_-_Form I read that, I think it's what I need, thankyou. diziet Link to comment Share on other sites More sharing options...
Recommended Posts