I was wondering what would a simple script be to turn the person you are
talking to and the ones around that him hostile at the end of a conv?
Originally Posted by DSTONEY642000
I was wondering what would a simple script be to turn the person you are
talking to and the ones around that him hostile at the end of a conv?
This should do it:
#include "k_inc_generic"
void main() {
object oNPC1 = GetObjectByTag("NPC1tag");
object oNPC2 = GetObjectByTag("NPC2tag");
object oPlayer = GetFirstPC();
ChangeToStandardFaction(oNPC1, STANDARD_FACTION_HOSTILE_1);
ChangeToStandardFaction(oNPC2, STANDARD_FACTION_HOSTILE_1);
AssignCommand(oNPC1, GN_DetermineCombatRound(oPlayer));
AssignCommand(oNPC2, GN_DetermineCombatRound(oPlayer));
}
Just repeat the functions for each NPC you want to turn hostile.
That should do it. Thanks