Min1ons Posted July 24, 2011 Share Posted July 24, 2011 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 More sharing options...
Korodic Posted July 24, 2011 Share Posted July 24, 2011 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 More sharing options...
Min1ons Posted July 24, 2011 Author Share Posted July 24, 2011 (edited) Ok, can you right me out an actuall script? Edited July 24, 2011 by Min1ons Link to comment Share on other sites More sharing options...
Recommended Posts