Jump to content

Home

NPC atacking another NPC


Ravager

Recommended Posts

Posted

You would use somthing like this:

void main() {
object oNPC1=GetObjectByTag("npc 1 here");
object oNPC2=GetObjectByTag("npc 2 here");
ChangeToStandardFaction(oNPC1, STANDARD_FACTION_PREY);
ChangeToStandardFaction(oNPC2, STANDARD_FACTION_PREDATOR);
}

Posted

I dont want to make another topic so i am writing here.

 

I want to fire conversation after NPC spawn. I have script but i dont know where can i put this. I tried to add this to OnEnter but it dont work.

Archived

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

×
×
  • Create New...