[Idea] Dogmeat custom find list

Post » Tue May 17, 2011 8:31 am

I thought I could maybe use formlists to give Dogmeat custom search lists to constantly sniff out for me... a formlist would make it possible to even add modded items to it. I'm not sure what happens to a formlist if it has a reference from a mod and the mod is no longer loaded, though.

Basically, I was thinking of adding a dialog to Dogmeat with options:

1. Sniff this (open his "nose" container. put item in. it clones the item to put in another dummy container, adds the item to a formlist, and gives you back the original).

2. Forget that (open the dummy container, this is just so you can see everything he's searching for. remove item from dummy container. script scans and removes anything not in this container from the formlist. remove one of the item from you after you take it so you can't clone stuff)

Not sure how GetFirstRefInCell works... if it actually scans all containers within the cell or not.

Then a script can run through getfirstrefincell and getnextref to see if anything in the formlist is there. If so, force Dogmeat to activate it, then run up and give to you.
Repeat.



Is this actually possible?


Suggestions, comments, and offers to actually create this are welcome :P (I will try myself though if it's possible)
User avatar
Adam
 
Posts: 3446
Joined: Sat Jun 02, 2007 2:56 pm

Post » Tue May 17, 2011 10:19 am

Yes, that's possible, though you have to do 2 levels of ref walking (first items/containers, and for each container its content).
User avatar
Cccurly
 
Posts: 3381
Joined: Mon Apr 09, 2007 8:18 pm


Return to Fallout 3