Jump to content

Faction Changing


Min1ons

Recommended Posts

Ok, in my MOD it lets the player spawn an NPC, but what I want the player to do is have the choice of what faction it fights for, like when the player spawns the NPC, it asks the player what faction they want it on. Can anyone help?
Link to comment
Share on other sites

yeah man I got chu' <3

 

This can work a few different ways.

 

Either you spawn preset NPC's already in the factions. (possibly moving them to the character via script)

 

OR

 

You can use one npc and mod their faction rank. And expel them upon spawning to get rid of the previous faction rank.

 

OR

 

You can put them in the player's own faction (the default player faction) and simply set enemies (and mod the faction reaction to make them attack that faction on sight)

SetEnemy Faction1 Faction2 0 0 (Zero's represent enemies, 1's represent Neutral, therefore this command sets both faction to hate each other)

ModFactionReaction Faction1 Faction2 -100

Link to comment
Share on other sites

  • Recently Browsing   0 members

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