Hi all. I have this question because a testers reported that a companion died and had this walking image on his avatar, so he was dead and didn't behave as a companion. Now, this companion, gets spawned as a normal NPC because you might fight him. If you don't, and accept him in party, then I change his scripts using the:
void SetCreatureScriptsToSet( object oCreature, int nScriptSet );
I set the nScriptSet to 3, which is SCRIPTSET_PLAYER_DEFAULT. Is that wrong? Which script sets companions use?
EDIT: I looked at the 2da, and 3 seems to be the one using the gb_comp scripts. So I guess I'm doing it all correct. Anyone had issues with this function then?





Retour en haut







