Jump to content

Companion Trouble


october21

Recommended Posts

Hey, so, I've been workin on a companion, and after a couple days of reading 'tutorials', and examining other comp mods, I was able to reverse-engineer a decent working comp for myself. Right now he has basic functionality, like, I can talk to him, he'll follow me, he'll wait, he'll fight my enemies, etc. But I haven't been able to get a couple parts to work right. Namely:

 

He won't trade with me. When I say 'show me your inv' he says 'okay', but nothing happens. Insofar as I can tell, I've done everything I need to in order to get this to work. My functions/variables look like every other comp's conditions, and I have 'OpenTeammateContainer' in the beginscript, so I'm at a loss here. Do I actually have to attach a container to him, or what? Cause I've poked around in the GECK and haven't seen anything like that. Any info would be awesome, cause I've run out of ideas.

 

Also, he doesn't seem to like to sneak. At least, he doesn't want to sneak when I am, UNLESS we're in combat, then he'll get low. Otherwise, he'll just follow me like normal. I don't understand why he does that when no other comp has any script/package specifically for sneaking, but I did add this to my comp's QuestSCRIPT:

 

If Player.IsSneaking == 1 && AndroidA174REF.IsSneak == 0

Set AndroidA174REF.IsSneak to 1

AndroidA174REF.evp

elseif Player.IsSneaking == 0 && AndroidA174REF.IsSneak == 1

Set AndroidA174REF.IsSneak to 0

AndroidA174REF.evp

endif

 

Doesn't seem to be doing any good though, like I said, he only sneaks while he's tracking hostiles. I want him to go into sneak as soon as I do, and 'unsneak' when I do, like vanilla comps.

 

Thanks for any help in advance =D

 

-October

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...