Jump to content

Home

Faction File problem


Sithspecter

Recommended Posts

You could create a trigger over the bridge with this script as the on enter script;

void main() {

 object oPC = GetFirstPC();
 object oThug0 = GetObjectByTag("Deadly_IC_Sul_1");
 object oThug1 = GetObjectByTag("Deadly_IC_Thu_1");
 object oThug2 = GetObjectByTag("Deadly_IC_Thu_2");
 object oThug3 = GetObjectByTag("Deadly_IC_Thu_3");
 object oThug4 = GetObjectByTag("Deadly_IC_Thu_4");
 object oThug5 = GetObjectByTag("Deadly_IC_Thu_5");
 object oThug6 = GetObjectByTag("Deadly_IC_Thu_6");

     if (GetEnteringObject() == oPC)
     return;

 ChangeToStandardFaction(oThug0, 3);
 ChangeToStandardFaction(oThug1, 3);
 ChangeToStandardFaction(oThug2, 3);
 ChangeToStandardFaction(oThug3, 3);
 ChangeToStandardFaction(oThug4, 3);
 ChangeToStandardFaction(oThug5, 3);
 ChangeToStandardFaction(oThug6, 3);

}

Just change the tags to those of the NPC's you want to turn hostile and add more or take some away if there's too many there.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...