Jump to content

Follow package not working


Lolz1234567

Recommended Posts

I have an NPC who has a base package of them crying, then once i do an action they stop and start following you, and it works fine. Although, as soon as I enter a new cell or worldspace or anything, they stop following and start the crying animation. I'm not quite sure whats up with it. I appreciate any help in advance.

Link to comment
Share on other sites

Are you using addscriptpackage? If so, that's fairly typical behavior for doing it that way.

 

It's better to have each package already added to the NPC with flags set to enable and disable them. Any time you change the flags, do an evp (evaluate package) on the NPC to make sure they evaluate and choose the proper package.

 

Is this NPC supposed to be a regular companion with a command wheel?

Link to comment
Share on other sites

Are you using addscriptpackage? If so, that's fairly typical behavior for doing it that way.

 

It's better to have each package already added to the NPC with flags set to enable and disable them. Any time you change the flags, do an evp (evaluate package) on the NPC to make sure they evaluate and choose the proper package.

 

Huh ? there is a flag for enable/disable on AI packages ? Used with the "SetPackageFlag" function ?

 

Or do you just mean to put a condition on the packages ... ?

Like the crying package put : GetTalkedToPC == 0

And the follow package put : GetTalkedToPC == 1

 

Then where ever the op was using AddScriptPackage , instead they put "MyNPCRef.EVP"

Like the "Result Script (end)" of their Topic info .

Edited by Mktavish
Link to comment
Share on other sites

  • Recently Browsing   0 members

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