Dielos Posted July 28, 2016 Share Posted July 28, 2016 (edited) When I get back to my computer later on today I'll provide a working example for you guys. But real quick, using a Formlist of Keywords to search for will not work, because those don't exist in the game world. You will want to replace those with the actual base FormIDs of the creatures you want to find.Ugh... That would explain why it's not working. Thought it looked for types. I need to find if there is anybody around of any type, be it mosquito, human, or creature, so I guess if I need the BaseID, my FormList is going to be huge! Would the BaseID of the race work? Edited July 28, 2016 by Dielos Link to comment Share on other sites More sharing options...
Reneer Posted July 28, 2016 Share Posted July 28, 2016 (edited) When I get back to my computer later on today I'll provide a working example for you guys. But real quick, using a Formlist of Keywords to search for will not work, because those don't exist in the game world. You will want to replace those with the actual base FormIDs of the creatures you want to find.Ugh... That would explain why it's not working. Thought it looked for types. I need to find if there is anybody around of any type, be it mosquito, human, or creature, so I guess if I need the BaseID, my FormList is going to be huge! Would the BaseID of the race work? Could always give it a try. :) Edited July 28, 2016 by Reneer Link to comment Share on other sites More sharing options...
Dielos Posted July 28, 2016 Share Posted July 28, 2016 Well, it didn't work with race BaseId's. I even tried moving all actor bases into the form list and didn't work either. Strange enough, I tried FindClosestActorFromRef, which I had discarded because it never worked, and now it does perfectly fine. :huh: Link to comment Share on other sites More sharing options...
Reneer Posted July 28, 2016 Share Posted July 28, 2016 (edited) Ok so here is my working example: Objectreference[] Doors = Game.GetPlayer().FindAllReferencesOfType(fakedoors, doordistance)fakedoors (a Rick & Morty reference, if you're wondering) is a Formlist that looks like http://imgur.com/Y5qqQ7mdoordistance is a Float that is set to 20000.0 Edited July 28, 2016 by Reneer Link to comment Share on other sites More sharing options...
MasterMagnus Posted July 28, 2016 Share Posted July 28, 2016 Yeah my first example works perfectly. ObjectReference[] myArray = Player.FindAllReferencesOfType(myList,400) myList contains MSTT 'Moveable Static' items. I'm having a little too much fun playing my mod that uses this, it really works well. Link to comment Share on other sites More sharing options...
Dielos Posted July 28, 2016 Share Posted July 28, 2016 Yes. Quite powerful once you get it to work! Now I just have to learn how to make an actor grabbed with this start a conversation with the player... Thanks for the working example, Reneer! Link to comment Share on other sites More sharing options...
Reneer Posted July 28, 2016 Share Posted July 28, 2016 Yes. Quite powerful once you get it to work! Now I just have to learn how to make an actor grabbed with this start a conversation with the player... Thanks for the working example, Reneer!Happy to help. :) Link to comment Share on other sites More sharing options...
StrayGenius Posted July 30, 2016 Author Share Posted July 30, 2016 Thanks got it working and released the final (V1.4) of "incinerator" mod - gets rid of corpses (either freshly killed or killed ones the game failed to get rid of). My "formlist" of actors is the complete list short of the "essential" actors. Everyone should know that mods that add actors - won't have those actor corpses seen by incinerator and cremated. But it's a lot better than before, the original idea has been achieved. To allow the player to cull corpses the game did not. Thanks Reneer :D Link to comment Share on other sites More sharing options...
Recommended Posts