Jump to content

NPC Faction Change


Min1ons

Recommended Posts

Ok, here's the situation. Im making a MOD that allows the player to spawn NPC's, but what I want is for the player to decide what faction they are on.

Example:

"Spawn Legion"

"Faction" (NCR or Legion)

if the player picks Legion its just a legion member, if they pick NCR its a legion fighting for the NCR.

So can anyone give me scripts? or tell me how to do this?

Link to comment
Share on other sites

You can do it like this in your scripts:

 

ref rActorREF


set rActorREF to Player.PlaceAtMe MYSpawnedActor 1
rActorREF.RemoveFromAllFactions		;factions in base object
rActorREF.AddToFaction NCRFactionNV 1

Link to comment
Share on other sites

  • Recently Browsing   0 members

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